[Bug preprocessor/60723] Line directives with incorrect system header flag
nicholas.ormrod at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Apr 1 15:30:00 GMT 2014
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.
More information about the Gcc-bugs
mailing list