This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]