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

gcc function auto-prototyping don't work? #1472

Closed
gorec2005 opened this issue Jan 20, 2016 · 2 comments
Closed

gcc function auto-prototyping don't work? #1472

gorec2005 opened this issue Jan 20, 2016 · 2 comments

Comments

@gorec2005
Copy link

Hi!
have two .ino
first :

void somefunction()
{
}
setup()
{
}
loop()
{
somefunction();
}

and second:

setup()
{
}
loop()
{
somefunction();
}
void somefunction()
{
}

first work ok, but second no ( error: 'somefunction' was not declared in this scope) if used latest ide from git...
but some time ago (i think ~1.6.5 version did work)...

@igrr
Copy link
Member

igrr commented Jan 20, 2016

This issue is tracked in arduino-builder and there is a pull request which fixes this issue.

@gorec2005
Copy link
Author

ok. so i close this issue...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants