From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23440 invoked by alias); 6 Jul 2009 16:48:42 -0000 Received: (qmail 23401 invoked by uid 48); 6 Jul 2009 16:48:29 -0000 Date: Mon, 06 Jul 2009 16:48:00 -0000 Message-ID: <20090706164829.23400.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/37866] "passing argument from incompatible pointer type" warning cannot be passed to -Werror= In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "manu at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-07/txt/msg00447.txt.bz2 ------- 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