: preprocessor
Assignee: unassigned at gcc dot gnu.org
Reporter: nicholas.ormrod at hotmail dot com
Created attachment 32503
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32503&action=edit
Proposed Patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60723
--- Comment #1 from Nicholas ---
The preprocessor emits line directives with the system-header flag when using
complicated macros. This causes certain warnings, like -Wswitch and -Wreorder,
to be suppressed.
This report includes a patch as well a
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60723
--- Comment #2 from Nicholas ---
Created attachment 32504
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32504&action=edit
Repro header
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60723
--- Comment #3 from Nicholas ---
Created attachment 32505
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32505&action=edit
Repro source
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60723
Nicholas changed:
What|Removed |Added
CC||nicholas.ormrod at hotmail dot
com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60723
--- Comment #7 from Nicholas ---
What a pleasant surprise to see your name, Matt.
This dropped off my radar for a bit, but I'm pretty close now to getting a
properly organized patch ready. Details to follow within 5 days.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60723
--- Comment #9 from Nicholas ---
Manuel, I have filed a patch to gcc-patches.
https://gcc.gnu.org/ml/gcc-patches/2014-06/msg00862.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60723
--- Comment #23 from Nicholas ---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61817
The more I talk, the more work you seem to have. :p
Thank you for taking this.
Cheers,
Nicholas