Procházet zdrojové kódy

Unit test: Disable unknown pragma warning for unit tests

bel2125 před 8 roky
rodič
revize
cc173c633c
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      test/civetweb_check.h

+ 1 - 0
test/civetweb_check.h

@@ -28,6 +28,7 @@
 #endif
 #endif
 #if defined(__MINGW__) || defined(__GNUC__)
 #if defined(__MINGW__) || defined(__GNUC__)
 #pragma GCC diagnostic push
 #pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunknown-pragmas"
 #pragma GCC diagnostic ignored "-Wno-variadic-macros"
 #pragma GCC diagnostic ignored "-Wno-variadic-macros"
 /* Disable warnings for defining _CRT_SECURE_NO_* (here) and
 /* Disable warnings for defining _CRT_SECURE_NO_* (here) and
  * _CHECK_CHECK_STDINT_H (in check.h)
  * _CHECK_CHECK_STDINT_H (in check.h)