------- Comment #5 from manu at gcc dot gnu dot org  2009-07-06 16:48 -------
We could add an OPT_Wdefault that replaces 0 in pedwarn(loc, 0, "message"),
then -Werror=default would turn all default warnings into errors. And
-Wno-default will turn off default warnings that cannot be currently
controlled.

Diego, would that satisfy you?

If we want further fine control, we would need to add further -Wxxx options for
specific default warnings.


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-07-06 16:48:29
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37866

Reply via email to