This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] have "would be stringified in traditional C" warning in libcpp/macro.c be controlled by -Wtraditional


It seemed odd to me that gcc was issuing a warning about compatibility
with traditional C that I couldn't turn off by pushing/popping
-Wtraditional over the problem area, so I made the attached (minor)
patch to fix it. Survives bootstrap, but the only testing I've done
with it has been compiling the one file that was giving me issues
previously, which I'd need to reduce further to turn it into a proper
test case.

Thanks,
Eric Gallager

libcpp/ChangeLog:

2017-03-24  Eric Gallager  <egall@gwmail.gwu.edu>

	* macro.c (check_trad_stringification): Have warning be controlled by
	-Wtraditional.

Attachment: patch-libcpp_macro_c.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]