This is the mail archive of the gcc-bugs@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]

[Bug other/28322] GCC new warnings and compatibility



------- 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


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