When I try to compile something that uses Arduino.h (EthernetDHCP from gkaindl.com in this case) I get quite a few errors on 1.0.
Is this a bug I should report or am I just doing something stupid? It all worked fine under 0018.
Here is the backtrace:
In file included from /usr/share/arduino/hardware/arduino/cores/arduino/Arduino.h:191:0, from /home/lrvick/Sources/arduino/libraries/EthernetDHCP/EthernetDHCP.cpp:28:
/usr/share/arduino/hardware/arduino/cores/arduino/WString.h:116:83: error: declaration of C function 'StringSumHelper& operator+(const StringSumHelper&, const char*)' conflicts with
/usr/share/arduino/hardware/arduino/cores/arduino/WString.h:115:27: error: previous declaration 'StringSumHelper& operator+(const StringSumHelper&, const String&)' here
/usr/share/arduino/hardware/arduino/cores/arduino/WString.h:117:73: error: declaration of C function 'StringSumHelper& operator+(const StringSumHelper&, char)' conflicts with
/usr/share/arduino/hardware/arduino/cores/arduino/WString.h:116:27: error: previous declaration 'StringSumHelper& operator+(const StringSumHelper&, const char*)' here
/usr/share/arduino/hardware/arduino/cores/arduino/WString.h:118:84: error: declaration of C function 'StringSumHelper& operator+(const StringSumHelper&, unsigned char)' conflicts with
/usr/share/arduino/hardware/arduino/cores/arduino/WString.h:117:27: error: previous declaration 'StringSumHelper& operator+(const StringSumHelper&, char)' here
/usr/share/arduino/hardware/arduino/cores/arduino/WString.h:119:74: error: declaration of C function 'StringSumHelper& operator+(const StringSumHelper&, int)' conflicts with
/usr/share/arduino/hardware/arduino/cores/arduino/WString.h:118:27: error: previous declaration 'StringSumHelper& operator+(const StringSumHelper&, unsigned char)' here
/usr/share/arduino/hardware/arduino/cores/arduino/WString.h:120:83: error: declaration of C function 'StringSumHelper& operator+(const StringSumHelper&, unsigned int)' conflicts with
/usr/share/arduino/hardware/arduino/cores/arduino/WString.h:119:27: error: previous declaration 'StringSumHelper& operator+(const StringSumHelper&, int)' here
/usr/share/arduino/hardware/arduino/cores/arduino/WString.h:121:75: error: declaration of C function 'StringSumHelper& operator+(const StringSumHelper&, long int)' conflicts with
/usr/share/arduino/hardware/arduino/cores/arduino/WString.h:120:27: error: previous declaration 'StringSumHelper& operator+(const StringSumHelper&, unsigned int)' here
/usr/share/arduino/hardware/arduino/cores/arduino/WString.h:122:84: error: declaration of C function 'StringSumHelper& operator+(const StringSumHelper&, long unsigned int)' conflicts with
/usr/share/arduino/hardware/arduino/cores/arduino/WString.h:121:27: error: previous declaration 'StringSumHelper& operator+(const StringSumHelper&, long int)' here
In file included from /home/lrvick/Sources/arduino/libraries/EthernetDHCP/EthernetDHCP.cpp:28:0:
/usr/share/arduino/hardware/arduino/cores/arduino/Arduino.h:195:33: error: declaration of C function 'uint16_t makeWord(byte, byte)' conflicts with
/usr/share/arduino/hardware/arduino/cores/arduino/Arduino.h:194:10: error: previous declaration 'uint16_t makeWord(uint16_t)' here
/usr/share/arduino/hardware/arduino/cores/arduino/Arduino.h:205:17: error: declaration of C function 'long int random(long int)' conflicts with
/usr/lib/gcc/avr/4.6.2/../../../../avr/include/stdlib.h:504:13: error: previous declaration 'long int random()' here
/usr/share/arduino/hardware/arduino/cores/arduino/Arduino.h:206:23: error: declaration of C function 'long int random(long int, long int)' conflicts with
/usr/share/arduino/hardware/arduino/cores/arduino/Arduino.h:205:6: error: previous declaration 'long int random(long int)' here
And here is my sketch: