|
In file included from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/BlinkerESPMQTT.h:10:0, from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker.h:36, from C:\Users\ADMINI~1\AppData\Local\Temp\untitled861721091.tmp\sketch_apr17a\sketch_apr17a.ino:3: C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Adapters/BlinkerMQTT.h: In member function 'virtual char* BlinkerMQTT::lastRead()': C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Adapters/BlinkerMQTT.h:683:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else return ""; ^ In file included from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:82:0, from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/BlinkerESPMQTT.h:11, from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker.h:36, from C:\Users\ADMINI~1\AppData\Local\Temp\untitled861721091.tmp\sketch_apr17a\sketch_apr17a.ino:3: C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApiBase.h: In member function 'char* BlinkerBridge_key::getName()': C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApiBase.h:194:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else return "false"; ^ In file included from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:83:0, from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/BlinkerESPMQTT.h:11, from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker.h:36, from C:\Users\ADMINI~1\AppData\Local\Temp\untitled861721091.tmp\sketch_apr17a\sketch_apr17a.ino:3: C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h: In member function 'char* BlinkerProtocol::deviceName()': C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h:97:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char * deviceName() { if (isInit) return conn->deviceName(); else return ""; } ^ C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h: In member function 'char* BlinkerProtocol::authKey()': C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h:98:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char * authKey() { if (isInit) return conn->authKey(); else return ""; } ^ C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h: In member function 'char* BlinkerProtocol::dataParse()': C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h:234:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* dataParse() { if (canParse) return conn->lastRead(); else return ""; } ^ In file included from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/BlinkerESPMQTT.h:11:0, from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker.h:36, from C:\Users\ADMINI~1\AppData\Local\Temp\untitled861721091.tmp\sketch_apr17a\sketch_apr17a.ino:3: C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: At global scope: C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:777:97: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] BlinkerWidgets_string _BUILTIN_SWITCH = BlinkerWidgets_string(BLINKER_CMD_BUILTIN_SWITCH); ^ C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::bridgeKey(uint8_t)': C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:6380:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else return ""; ^ C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::bridgeName(uint8_t)': C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:6387:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else return "false"; ^ C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_str(uint8_t)': C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7012:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else return ""; ^ C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_rgb(uint8_t)': C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7026:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else return ""; ^ C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_int(uint8_t)': C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7032:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else return ""; ^ C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_tab(uint8_t)': C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7038:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else return ""; ^ C:\Users\ADMINI~1\AppData\Local\Temp\untitled861721091.tmp\sketch_apr17a\sketch_apr17a.ino: At global scope: C:\Users\ADMINI~1\AppData\Local\Temp\untitled861721091.tmp\sketch_apr17a\sketch_apr17a.ino:10:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] BlinkerButton Button1("btn-abc"); ^ C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src\modules\WebSockets\WebSocketsClient.cpp: In member function 'void WebSocketsClient::loop()': C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src\modules\WebSockets\WebSocketsClient.cpp:174:87: warning: 'bool BearSSL::WiFiClientSecure::setCACert(const uint8_t*, size_t)' is deprecated (declared at C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:133): This is deprecated AxTLS API, check https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/src/WiFiClientSecure.h#L25-L99 [-Wdeprecated-declarations] _client.ssl->setCACert((const uint8_t *)_CA_cert, strlen(_CA_cert) + 1); ^ C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src\modules\WebSockets\WebSocketsClient.cpp: In member function 'void WebSocketsClient::connectedCb()': C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src\modules\WebSockets\WebSocketsClient.cpp:761:68: warning: 'bool BearSSL::WiFiClientSecure::verify(const char*, const char*)' is deprecated (declared at C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:173): This is deprecated AxTLS API, check https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/src/WiFiClientSecure.h#L25-L99 [-Wdeprecated-declarations] if(!_client.ssl->verify(_fingerprint.c_str(), _host.c_str())) { ^ c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_776595/sketch_apr17a.ino.elf section `.irom0.text' will not fit in region `irom0_0_seg' collect2.exe: error: ld returned 1 exit status exit status 1 为开发板 Generic ESP8266 Module 编译时出错。 导入库以后编译报这个错误 |
|