You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]
The text was updated successfully, but these errors were encountered:
gitdings
changed the title
test1 sketch doesn't complie anymore with Arduino IDE 1.6.6
test1 sketch doesn't compile anymore with Arduino IDE 1.6.6
Nov 30, 2015
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]
The text was updated successfully, but these errors were encountered: