ソースを参照

fix compilation warning of pmh_parser on Windows

Le Tan 7 年 前
コミット
e47900f7ec
1 ファイル変更2 行追加0 行削除
  1. 2 0
      peg-highlight/pmh_parser.h

+ 2 - 0
peg-highlight/pmh_parser.h

@@ -5,7 +5,9 @@
  * pmh_parser.h
  */
 
+#ifdef Q_CC_GNU
 #pragma GCC diagnostic ignored "-Wunused-parameter"
+#endif
 
 /** \file
 * \brief Parser public interface.