Explorar o código

Unit test: Disable unknown pragma warning for unit tests

bel2125 %!s(int64=8) %!d(string=hai) anos
pai
achega
cc173c633c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      test/civetweb_check.h

+ 1 - 0
test/civetweb_check.h

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