Ver código fonte

fix compilation warning of pmh_parser on Windows

Le Tan 7 anos atrás
pai
commit
e47900f7ec
1 arquivos alterados com 2 adições e 0 exclusões
  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.