소스 검색

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