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

Prototypes are not generated #197

Closed
me21 opened this issue Dec 9, 2016 · 2 comments
Closed

Prototypes are not generated #197

me21 opened this issue Dec 9, 2016 · 2 comments
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself topic: preprocessor Related to sketch preprocessing type: imperfection Perceived defect in any part of project

Comments

@me21
Copy link

me21 commented Dec 9, 2016

Looks similar to #68 and #185, but on Arduino 1.6.12.

reproduce by:

  • create sketch test.ino
void setup() {
// stuff
}

void loop() {
// do things
 myfunction();
}

void myfunction() {
//code
}

test:7: error: 'myfunction' was not declared in this scope

Tried that on esp8266 and arduino cores. Arduino IDE v1.6.12.

@me21 me21 changed the title Prototypes are not generated in multi-file sketches Prototypes are not generated Dec 9, 2016
@me21
Copy link
Author

me21 commented Dec 9, 2016

Seems that Arduino does not like non-latin letters in path to sketches folder. Cyrillic in my case. Changing sketch folder path to the one which does not contain cyrillic letters fixed this for me.

Still, I'm keeping this issue open because it's not good to require latin-only paths.

@facchinm
Copy link
Member

The issue has been solved by 4641067 , so next IDE version will contain the proper fix. If you want to test the fix, download the latest release from https://github.com/arduino/arduino-builder/releases/tag/1.3.22 and replace both arduino-builder and ctags with the downloaded ones

@per1234 per1234 added conclusion: resolved Issue was resolved topic: code Related to content of the project itself topic: preprocessor Related to sketch preprocessing type: imperfection Perceived defect in any part of project labels Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself topic: preprocessor Related to sketch preprocessing type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

3 participants