Browse Source

Circumvent gcc 8 restrict error

sle118 5 years ago
parent
commit
e3db4d1dc9
1 changed files with 2 additions and 0 deletions
  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";