Przeglądaj źródła

Circumvent gcc 8 restrict error

sle118 5 lat temu
rodzic
commit
e3db4d1dc9
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      components/wifi-manager/http_server.c

+ 2 - 0
components/wifi-manager/http_server.c

@@ -35,6 +35,8 @@ function to process requests, decode URLs, serve files, etc. etc.
 #include "cmd_system.h"
 
 
+// todo:  resolve the restrict error below 
+#pragma GCC diagnostic warning "-Wrestrict"
 
 /* @brief tag used for ESP serial console messages */
 static const char TAG[] = "http_server";