We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I got an error compiling my sketch. Could you help me?
Arduino: 1.6.8 (Windows 7), Board: "Arduino Duemilanove or Diecimila, ATmega328"
RESTduino.ino: In function 'void loop()': RESTduino.ino:230:31: warning: NULL used in arithmetic [-Wpointer-arith]
else if(pin[0] != NULL) { ^
sketch\libraries\EthernetBonjour\utility\EthernetCompat.cpp: In function 'void ethernet_compat_read_data(int, uint8_t_, uint8_t_, uint16_t)':
sketch\libraries\EthernetBonjour\utility\EthernetCompat.cpp:121:41: error: invalid conversion from 'uint8_t* {aka unsigned char*}' to 'uint16_t {aka unsigned int}' [-fpermissive]
W5100.read_data(socket, src, dst, len); ^
In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src/utility/socket.h:4:0,
from sketch\libraries\EthernetBonjour\utility\EthernetCompat.cpp:27:
C:\Program Files (x86)\Arduino\libraries\Ethernet\src/utility/w5100.h:142:8: error: initializing argument 2 of 'void W5100Class::read_data(SOCKET, uint16_t, volatile uint8_t*, uint16_t)' [-fpermissive]
void read_data(SOCKET s, volatile uint16_t src, volatile uint8_t * dst, uint16_t len);
^
exit status 1 Error compiling for board Arduino Duemilanove or Diecimila.
The text was updated successfully, but these errors were encountered:
duplicate of issue #21
Sorry, something went wrong.
No branches or pull requests
I got an error compiling my sketch.
Could you help me?
Arduino: 1.6.8 (Windows 7), Board: "Arduino Duemilanove or Diecimila, ATmega328"
RESTduino.ino: In function 'void loop()':
RESTduino.ino:230:31: warning: NULL used in arithmetic [-Wpointer-arith]
sketch\libraries\EthernetBonjour\utility\EthernetCompat.cpp: In function 'void ethernet_compat_read_data(int, uint8_t_, uint8_t_, uint16_t)':
sketch\libraries\EthernetBonjour\utility\EthernetCompat.cpp:121:41: error: invalid conversion from 'uint8_t* {aka unsigned char*}' to 'uint16_t {aka unsigned int}' [-fpermissive]
In file included from C:\Program Files (x86)\Arduino\libraries\Ethernet\src/utility/socket.h:4:0,
C:\Program Files (x86)\Arduino\libraries\Ethernet\src/utility/w5100.h:142:8: error: initializing argument 2 of 'void W5100Class::read_data(SOCKET, uint16_t, volatile uint8_t*, uint16_t)' [-fpermissive]
void read_data(SOCKET s, volatile uint16_t src, volatile uint8_t * dst, uint16_t len);
exit status 1
Error compiling for board Arduino Duemilanove or Diecimila.
The text was updated successfully, but these errors were encountered: