This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/70257] #line incorrectly handled in error messages
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 30 Jul 2017 23:02:31 +0000
- Subject: [Bug c/70257] #line incorrectly handled in error messages
- Auto-submitted: auto-generated
- References: <bug-70257-4@http.gcc.gnu.org/bugzilla/>
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.