Closed Protezhe closed 5 years ago
In new Arduino IDE (Mac and windows) compile error
Arduino: 1.8.9 (Mac OS X), Плата:"Generic ESP8266 Module, 80 MHz, Flash, Disabled, ck, 26 MHz, 40MHz, DOUT (compatible), 512K (no SPIFFS), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
/Users/Alf/Documents/Arduino/libraries/ArtnetnodeWifi-master/src/ArtnetnodeWifi.cpp: In member function 'uint8_t ArtnetnodeWifi::begin()': /Users/Alf/Documents/Arduino/libraries/ArtnetnodeWifi-master/src/ArtnetnodeWifi.cpp:55:40: error: ambiguous overload for 'operator~' (operand type is 'IPAddress') localBroadcast = IPAddress(localIP | ~localMask); ^ /Users/Alf/Documents/Arduino/libraries/ArtnetnodeWifi-master/src/ArtnetnodeWifi.cpp:55:40: note: candidates are: /Users/Alf/Documents/Arduino/libraries/ArtnetnodeWifi-master/src/ArtnetnodeWifi.cpp:55:40: note: operator~(uint32_t {aka unsigned int}) /Users/Alf/Documents/Arduino/libraries/ArtnetnodeWifi-master/src/ArtnetnodeWifi.cpp:55:40: note: operator~(u32_t {aka long unsigned int}) /Users/Alf/Documents/Arduino/libraries/ArtnetnodeWifi-master/src/ArtnetnodeWifi.cpp:55:40: note: operator~(int)
Thanks for pointing it out. I can confirm the problem in Linux as well. It should be fixed by now.
Thanks! Now compile good!!))
In new Arduino IDE (Mac and windows) compile error
Arduino: 1.8.9 (Mac OS X), Плата:"Generic ESP8266 Module, 80 MHz, Flash, Disabled, ck, 26 MHz, 40MHz, DOUT (compatible), 512K (no SPIFFS), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
/Users/Alf/Documents/Arduino/libraries/ArtnetnodeWifi-master/src/ArtnetnodeWifi.cpp: In member function 'uint8_t ArtnetnodeWifi::begin()': /Users/Alf/Documents/Arduino/libraries/ArtnetnodeWifi-master/src/ArtnetnodeWifi.cpp:55:40: error: ambiguous overload for 'operator~' (operand type is 'IPAddress') localBroadcast = IPAddress(localIP | ~localMask); ^ /Users/Alf/Documents/Arduino/libraries/ArtnetnodeWifi-master/src/ArtnetnodeWifi.cpp:55:40: note: candidates are: /Users/Alf/Documents/Arduino/libraries/ArtnetnodeWifi-master/src/ArtnetnodeWifi.cpp:55:40: note: operator~(uint32_t {aka unsigned int})
/Users/Alf/Documents/Arduino/libraries/ArtnetnodeWifi-master/src/ArtnetnodeWifi.cpp:55:40: note: operator~(u32_t {aka long unsigned int})
/Users/Alf/Documents/Arduino/libraries/ArtnetnodeWifi-master/src/ArtnetnodeWifi.cpp:55:40: note: operator~(int)