Quellcode durchsuchen

Disable nonsense warning -Wdate-time (5)

bel2125 vor 8 Jahren
Ursprung
Commit
1ac340bc58
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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,