------- Comment #8 from manu at gcc dot gnu dot org 2009-09-10 15:14 ------- Pedantic warnings may be controlled by individual warning flags. So to fix this you only need to:
* add a new -Wfoo option to c.opt that is enabled by default. * use the option in the appropriate warning calls in c-typeck.c * create some testcases to show that it works. * get the patch reviewed and committed. Patches welcome: http://gcc.gnu.org/contribute.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37866