Parcourir la source

Circumvent gcc 8 restrict error

sle118 il y a 5 ans
Parent
commit
e3db4d1dc9
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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";