This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/28322] GCC new warnings and compatibility
- From: "ian at davenant dot greenend dot org dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Nov 2007 21:18:05 -0000
- Subject: [Bug other/28322] GCC new warnings and compatibility
- References: <bug-28322-5724@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from ian at davenant dot greenend dot org dot uk 2007-11-16 21:18 -------
All that's really needed is to remember all of the unknown -Wno-* options seen.
From the point of view of the core of the option parser, accept them, but just
store the string as provided. When the first warning is printed, print a
message about them and clear them out so that the message will not be repeated.
If that's too difficult then it would be better to completely ignore unknown
-Wno-* options than to complain about them.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28322