https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66000

Eric Gallager <egall at gwmail dot gwu.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egall at gwmail dot gwu.edu

--- Comment #1 from Eric Gallager <egall at gwmail dot gwu.edu> ---
(In reply to Michael Darling from comment #0)
> With the code
>    nonExistantClass varName = nonExistantFunction();
> 
> gcc 5.1.0 gives
>    error: `nonExistantClass' was not declared in this scope
>       nonExistantClass varName = nonExistantFunction();
>       ^
> 
> It might be better if it ALSO gave:
>    error: `nonExistantFunction' was not declared in this scope
>       nonExistantClass varName = nonExistantFunction();
>                                  ^

idk, this might lengthen the error output considerably for files with a lot of
undeclared identifiers in them...

Reply via email to