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