Skip to content

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

Closed
@gorec2005

Description

@gorec2005

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)...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions