This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/60723] Line directives with incorrect system header flag
- From: "nicholas.ormrod at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 01 Apr 2014 15:30:48 +0000
- Subject: [Bug preprocessor/60723] Line directives with incorrect system header flag
- Auto-submitted: auto-generated
- References: <bug-60723-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60723
Nicholas <nicholas.ormrod at hotmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nicholas.ormrod at hotmail dot com
--- Comment #5 from Nicholas <nicholas.ormrod at hotmail dot com> ---
Thank you for the link, Manuel. This is my first contribution to gcc. I'll see
if I can follow your instructions.
As for the content of the patch, it fixes the second and more egregious error.
In and of itself, token-line inconsistency is not the end of the world; the
real problem is that the code that inserts the bad line directive has a bug.
Specifically, it uses the macro's source file to determine the callsite file's
properties. That is what the patch fixes.
I do not have a patch for the line inconsistency, which is one of the reasons
that I posted this to the bug forum.