Closed RichardSelmanXX closed 3 years ago
From the original issue https://github.com/arduino/Arduino/issues/9539: matthijskooijman commented 32 minutes ago
Seems like a warning, which is also harmless (code works as expected AFAICS).
Still would be good to fix, though.
@RichardSelmanXX Is there any documentation you have follow for this
is it still unfixed?
Any news here?
Hello, for some time I have also been getting this alert message on one of my PCs .... Anyone have any idea where the warning came from? Thank you
Hello, for some time I have also been getting this alert message on one of my PCs .... Anyone have any idea where the warning came from? Thank you
I just ignore it.
I found this in another post, I did it and I no longer have an error message ... Thanks
https://forum.arduino.cc/t/compiler-message-need-interpretation/620468/7 (post of ToneArt of 04/04/2020)
If you want to avoid the warning, just fix the w5100.h file (in
<Arduino install>\libraries\Ethernet\src\Utility
):at the end of the file you have :
#define htons(x) ( (((x)<<8)&0xFF00) | (((x)>>8)&0xFF) )
replace it with this
#define htons(x) ( ((((x)&0xFF)<<8)&0xFF00) | (((x)>>8)&0xFF) )
However, I only had this error message on my desktop computer and not on my other portable computer!
Still present using the latest version of the library (https://github.com/arduino-libraries/Ethernet/releases/tag/2.0.0)
How can we help to have a release including this fix ?
@evantill here you go: https://github.com/arduino-libraries/Ethernet/releases/tag/2.0.1 .
Moved from https://github.com/arduino/Arduino/issues/9539 by RichardSelmanXX
IDE 1.8.10. Controllino MEGA, simple Ethernet test sketch......
Get this on compile....