Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test1 sketch doesn't compile anymore with Arduino IDE 1.6.6 #90

Open
gitdings opened this issue Nov 30, 2015 · 0 comments
Open

test1 sketch doesn't compile anymore with Arduino IDE 1.6.6 #90

gitdings opened this issue Nov 30, 2015 · 0 comments

Comments

@gitdings
Copy link

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]

@gitdings 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant