|
Arduino:1.6.5 (Windows 8.1), 板:"NodeMCU 0.9 (ESP-12 Module), 80 MHz, 115200, 4M (3M SPIFFS)"
sketch_mar08c.ino: In function 'void loop()':
sketch_mar08c:55: error: request for member 'connected' in 'serverClients', which is of non-class type 'WiFiClient [3]'
sketch_mar08c:56: error: request for member 'stop' in 'serverClients', which is of non-class type 'WiFiClient [3]'
sketch_mar08c:56: error: 'ii' was not declared in this scope
sketch_mar08c:57: error: invalid conversion from 'uint8_t {aka unsigned char}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
In file included from C:\Users\shenghui\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:40:0,
from sketch_mar08c.ino:6:
C:\Users\shenghui\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiServer.h:51:14: error: initializing argument 1 of 'WiFiClient WiFiServer::available(uint8_t*)' [-fpermissive]
WiFiClient available(uint8_t* status = NULL);
^
sketch_mar08c:62: error: invalid conversion from 'uint8_t {aka unsigned char}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
In file included from C:\Users\shenghui\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:40:0,
from sketch_mar08c.ino:6:
C:\Users\shenghui\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiServer.h:51:14: error: initializing argument 1 of 'WiFiClient WiFiServer::available(uint8_t*)' [-fpermissive]
WiFiClient available(uint8_t* status = NULL);
^
sketch_mar08c:62: error: variable-sized object 'serverClient' may not be initialized
sketch_mar08c:64: error: request for member 'stop' in 'serverClient', which is of non-class type 'WiFiClient [(((sizetype)(((ssizetype)i) + -1)) + 1)]'
sketch_mar08c:69: error: request for member 'connected' in 'serverClients', which is of non-class type 'WiFiClient [3]'
sketch_mar08c:71: error: request for member 'available' in 'serverClients', which is of non-class type 'WiFiClient [3]'
sketch_mar08c:72: error: request for member 'available' in 'serverClients', which is of non-class type 'WiFiClient [3]'
sketch_mar08c:73: error: request for member 'read' in 'serverClients', which is of non-class type 'WiFiClient [3]'
request for member 'connected' in 'serverClients', which is of non-class type 'WiFiClient [3]'
报告将会包含更多的信息
"在编译时,输出详细信息"
在 文件>首选项 中启用
|
|