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 12:53:58 +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
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I actually think gcc's diagnostic is clearer; at least from a standard point of
view. It is pointing out where the previous definition is located. All it
might add is that was in a different scope and that would fix this bug.