瀏覽代碼

Unit test: Format some commented code

bel2125 7 年之前
父節點
當前提交
9fe36a9fc8
共有 1 個文件被更改,包括 3 次插入5 次删除
  1. 3 5
      test/civetweb_check.h

+ 3 - 5
test/civetweb_check.h

@@ -30,14 +30,12 @@
 #if defined(__MINGW__) || defined(__GNUC__)
 #if defined(__MINGW__) || defined(__GNUC__)
 #pragma GCC diagnostic push
 #pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Wall"
 #pragma GCC diagnostic ignored "-Wall"
-/*
-#pragma GCC diagnostic ignored "-Wunknown-pragmas"
-#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)
  */
  */
-/*
+/* Disable until Warning returns to Travis CI or AppVeyor
+#pragma GCC diagnostic ignored "-Wunknown-pragmas"
+#pragma GCC diagnostic ignored "-Wno-variadic-macros"
 #pragma GCC diagnostic ignored "-Wreserved-id-macro"
 #pragma GCC diagnostic ignored "-Wreserved-id-macro"
 */
 */
 #endif
 #endif