Browse Source

Disable nonsense warning -Wdate-time (5)

bel2125 7 years ago
parent
commit
1ac340bc58
1 changed files with 1 additions and 0 deletions
  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,