This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/67488] Improve diagnostic on call of declared function in a different scope
- 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:09:30 +0000
- Subject: [Bug c/67488] Improve diagnostic on call of declared function in a different scope
- 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
----------------------------------------------------------------------------
Summary|Incorrect error message on |Improve diagnostic on call
|call of nested functions |of declared function in a
| |different scope
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note the error is not incorrect, clang is wrong in not rejecting the code but
that is a different story.