소스 검색

Disable nonsense warning -Wdate-time (5)

bel2125 7 년 전
부모
커밋
1ac340bc58
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/civetweb.c

+ 1 - 0
src/civetweb.c

@@ -17120,6 +17120,7 @@ mg_get_system_info_impl(char *buffer, int buflen)
 #pragma GCC diagnostic push
 /* Disable bogus compiler warning -Wdate-time */
 #pragma GCC diagnostic ignored "-Wall"
+#pragma GCC diagnostic ignored "-Werror"
 #endif
 		mg_snprintf(NULL,
 		            NULL,