In file included from C:\Users\hp1\Documents\Arduino\libraries\Blinker\src/BlinkerSerialBLE.h:25:0,
from C:\Users\hp1\Documents\Arduino\libraries\Blinker\src/Blinker.h:21,
from C:\Users\hp1\Documents\Arduino\libraries\Blinker\examples\Blinker_Hello\Hello_BLE\Hello_BLE.ino:48:
C:\Users\hp1\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerSerial.h: In member function 'virtual char* BlinkerSerial::lastRead()':
C:\Users\hp1\Documents\Arduino\libraries\Blinker\src/Adapters/BlinkerSerial.h:36:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char * lastRead() { if (isFresh) return streamData; else return ""; }
^~
In file included from C:\Users\hp1\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:83:0,
from C:\Users\hp1\Documents\Arduino\libraries\Blinker\src/BlinkerSerialBLE.h:26,
from C:\Users\hp1\Documents\Arduino\libraries\Blinker\src/Blinker.h:21,
from C:\Users\hp1\Documents\Arduino\libraries\Blinker\examples\Blinker_Hello\Hello_BLE\Hello_BLE.ino:48:
C:\Users\hp1\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerProtocol.h: In member function 'char* BlinkerProtocol::dataParse()':
C:\Users\hp1\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerProtocol.h:228:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char* dataParse() { if (canParse) return conn->lastRead(); else return ""; }
^~
In file included from C:\Users\hp1\Documents\Arduino\libraries\Blinker\src/BlinkerSerialBLE.h:26:0,
from C:\Users\hp1\Documents\Arduino\libraries\Blinker\src/Blinker.h:21,
from C:\Users\hp1\Documents\Arduino\libraries\Blinker\examples\Blinker_Hello\Hello_BLE\Hello_BLE.ino:48:
C:\Users\hp1\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h: At global scope:
C:\Users\hp1\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:764:97: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
BlinkerWidgets_string _BUILTIN_SWITCH = BlinkerWidgets_string(BLINKER_CMD_BUILTIN_SWITCH);
^
C:\Users\hp1\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_str(uint8_t)':
C:\Users\hp1\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:6960:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
else return "";
^~
C:\Users\hp1\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_joy(uint8_t)':
C:\Users\hp1\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:6967:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
else return "";
^~
C:\Users\hp1\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_rgb(uint8_t)':
C:\Users\hp1\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:6974:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
else return "";
^~
C:\Users\hp1\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_int(uint8_t)':
C:\Users\hp1\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:6980:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
else return "";
^~
C:\Users\hp1\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_tab(uint8_t)':
C:\Users\hp1\Documents\Arduino\libraries\Blinker\src/Blinker/BlinkerApi.h:6986:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
else return "";
^~
C:\Users\hp1\Documents\Arduino\libraries\Blinker\examples\Blinker_Hello\Hello_BLE\Hello_BLE.ino: At global scope:
C:\Users\hp1\Documents\Arduino\libraries\Blinker\examples\Blinker_Hello\Hello_BLE\Hello_BLE.ino:50:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
BlinkerButton Button1("btn-abc");
^
C:\Users\hp1\Documents\Arduino\libraries\Blinker\examples\Blinker_Hello\Hello_BLE\Hello_BLE.ino:51:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
BlinkerNumber Number1("num-abc");
是blinker库的问题吗
|