Преглед на файлове

Unit test: disable some warnings from the test framework

bel2125 преди 8 години
родител
ревизия
0a3d8176a2
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      test/civetweb_check.h

+ 2 - 1
test/civetweb_check.h

@@ -28,10 +28,11 @@
 #endif
 #if defined(__MINGW__) || defined(__GNUC__)
 #pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wno-variadic-macros"
 /* Disable warnings for defining _CRT_SECURE_NO_* (here) and
  * _CHECK_CHECK_STDINT_H (in check.h)
  */
-#pragma clang diagnostic ignored "-Wreserved-id-macro"
+#pragma GCC diagnostic ignored "-Wreserved-id-macro"
 #endif
 #ifdef _MSC_VER
 #undef pid_t