[Bug c/66000] Suggestion: more than one "not declared in this scope" per line
egall at gwmail dot gwu.edu
gcc-bugzilla@gcc.gnu.org
Tue May 12 13:05:00 GMT 2015
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...
More information about the Gcc-bugs
mailing list