浏览代码

Unit test: Disable unknown pragma warning for unit tests

bel2125 8 年之前
父节点
当前提交
cc173c633c
共有 1 个文件被更改,包括 1 次插入0 次删除
  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)