rstephan / ArtnetnodeWifi

Arduino library for a Art-Net-Node (artnet) over WiFi, handle DMX data and response to Poll requests. Runs on ESP8266, ESP32, WiFi101 and WiFiNINA devices.
82 stars 21 forks source link

Compiling error #10

Closed Protezhe closed 5 years ago

Protezhe commented 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)

rstephan commented 5 years ago

Thanks for pointing it out. I can confirm the problem in Linux as well. It should be fixed by now.

Protezhe commented 5 years ago

Thanks! Now compile good!!))