Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler Error in dns.cpp #40

Open
formeforgit opened this issue Feb 8, 2020 · 0 comments
Open

Compiler Error in dns.cpp #40

formeforgit opened this issue Feb 8, 2020 · 0 comments

Comments

@formeforgit
Copy link

Hi,
im not speak english - please have indulgence

Enviroment:
ubuntu 18.04 - latest update/upgrade
Arduino 1.8.10
lib Ethernet 2.0.0

i have compile the example from mysql_connection https://github.com/ChuckBell/MySQL_Connector_Arduino/ and found more at once compiler-errors.

The MySQL-example "query_result" init only with IPADRESS; no more variables.
When this sample compile I become 2 error in DNS.cpp

i have fear by this detail:
libraries/Ethernet/src/utility/w5100.h:459:25: warning: result of '(256 << 8)' requires 18 bits to represent, but 'int' only has 16 bits [-Wshift-overflow=] #define htons(x) ( (((x)<<8)&0xFF00) | (((x)>>8)&0xFF) )
Please see attached files for full errormessages.

thanks

eth-DNS_err
eth-DNS_error.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant