Verifying "test1.io" sketch (dated 2013-02-02) fails using Arduino 1.6.6 (downloaded 2015-11-30). Looks like the checks have become more picky. :-( Removing 'static' from line 11 allows the sketch to compile.
/tmp/arduino_3632c65f10886781221b5da43b787a25/test1.ino: In function 'void led(bool)':
test1:11: error: 'void led(bool)' was declared 'extern' and later 'static' [-fpermissive]
static void led (bool on) {
^
test1:11: error: previous declaration of 'void led(bool)' [-fpermissive]
static void led (bool on) {
^
exit status 1
'void led(bool)' was declared 'extern' and later 'static' [-fpermissive]
Verifying "test1.io" sketch (dated 2013-02-02) fails using Arduino 1.6.6 (downloaded 2015-11-30). Looks like the checks have become more picky. :-( Removing 'static' from line 11 allows the sketch to compile.
Error messages:
Arduino: 1.6.6 (Linux), Board: "Arduino/Genuino Uno"
/tmp/arduino_3632c65f10886781221b5da43b787a25/test1.ino: In function 'void led(bool)': test1:11: error: 'void led(bool)' was declared 'extern' and later 'static' [-fpermissive] static void led (bool on) { ^ test1:11: error: previous declaration of 'void led(bool)' [-fpermissive] static void led (bool on) { ^ exit status 1 'void led(bool)' was declared 'extern' and later 'static' [-fpermissive]