Hi. I've been loving the LEDcontrol library (http://www.arduino.cc/playground/Main/LedControl), but recently upgraded from 0010 to Arduino 0012 IDE, and now unfortunately even compiling the following fails (not just warnings):
#include "LedControl.h"
void setup() {}
void loop() {}
The errors are:
In file included from C:\Users\User\Desktop\ecw\Arduino Coding\arduino-0012\hardware\cores\arduino/WProgram.h:4,
c:/users/user/desktop/ecw/arduino coding/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:80: error: expected unqualified-id before 'int'
c:/users/user/desktop/ecw/arduino coding/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:80: error: expected `)' before 'int'
c:/users/user/desktop/ecw/arduino coding/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:80: error: expected `)' before 'int'
c:/users/user/desktop/ecw/arduino coding/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:111: error: expected unqualified-id before 'int'
c:/users/user/desktop/ecw/arduino coding/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:111: error: expected `)' before 'int'
c:/users/user/desktop/ecw/arduino coding/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:111: error: expected `)' before 'int'
c:/users/user/desktop/ecw/arduino coding/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:144: error: expected identifier before '(' token
c:/users/user/desktop/ecw/arduino coding/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:144: error: expected `)' before '(' token
c:/users/user/desktop/ecw/arduino coding/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:144: error: expected ',' or '...' before '(' token
c:/users/user/desktop/ecw/arduino coding/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:144: error: expected initializer before ')' token
c:/users/user/desktop/ecw/arduino coding/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:176: error: '__compar_fn_t' has not been declared
In file included from C:\Users\User\Desktop\ecw\Arduino Coding\arduino-0012\hardware\cores\arduino/WProgram.h:6,
It worked (with warnings) in 0011 and worked fine in 0010.
I've replicated the errors above in XP Pro and Vista.
Has anyone else tried this?