[Bug c++/66440] Diagnostic on "'foo' was not declared in this scope" offers an invalid suggestion

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 10 11:48:39 GMT 2021


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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The "did you mean ... ?" suggestions are pretty basic, there's no semantic
analysis. So they are imperfect, but still useful more often than not.


More information about the Gcc-bugs mailing list