Skip to content

Unable to access arguments of functions returning function pointers #43

@dspinellis

Description

@dspinellis

The following function

void (*f(int a))(void)
{
        while (a--)
                ;
        return 0;
}

gives the error

 warning: undeclared identifier: a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions