[Bug c/70257] #line incorrectly handled in error messages

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jul 30 23:02:00 GMT 2017


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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
I think this is a dup of bug 79106.

The caret line is printed by reopening the file and counting 3 lines because
the line directive is believed by GCC to point to the actual source code.


More information about the Gcc-bugs mailing list