http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57201
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org --- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2013-05-08 07:58:54 UTC --- (In reply to comment #2) > I should have clarified that the warning is correct with --save-temps. When > --save-temps is omitted, the warning is missing. That is wrong. There should > be a warning in this case. The presence of "#define stdout stdout" should not > inhibit a warning. Does the same happen with -ftrack-macro-expansions=0 ? And with g++? There are some open bugs about macro locations and about differences between C and C++ FEs, but no one has found the time to investigate further.