When i try to compile one of the virtual wire examples from the download library at http://www.open.com.au/mikem/arduino/VirtualWire-1.3.zip
i get following error message, something wrong in the library or could it be just my fault?
In file included from C:\Program Files\Arduino\arduino-0015\hardware\cores\arduino/WProgram.h:6,
c:/program files/arduino/arduino-0015/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected unqualified-id before 'double'
c:/program files/arduino/arduino-0015/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected `)' before 'double'
c:/program files/arduino/arduino-0015/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected `)' before 'double'
Strange is that i have the same error with Arduino-0012 and 0014?
In file included from C:\Program Files\Arduino\arduino-0012\hardware\cores\arduino/WProgram.h:6,
c:/program files/arduino/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected unqualified-id before 'double'
c:/program files/arduino/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected `)' before 'double'
c:/program files/arduino/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected `)' before 'double'