[Bug c/67488] Improve diagnostic on call of declared function in a different scope

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 12 13:09:00 GMT 2016


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.


More information about the Gcc-bugs mailing list