This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/67488] Incorrect error message on call of nested functions
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 12 Sep 2016 13:07:50 +0000
- Subject: [Bug c/67488] Incorrect error message on call of nested functions
- Auto-submitted: auto-generated
- References: <bug-67488-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67488
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
A similar fix would be good for:
void g() {
void f(void);
}
void k() {int f(int); f(1);}
Saying f was declared in a different scope too.
Note I don't have access to clang so I can't say what it shows.