소스 검색

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.