From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25523 invoked by alias); 28 Aug 2004 23:51:38 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 25516 invoked from network); 28 Aug 2004 23:51:37 -0000 Received: from unknown (HELO calvin.slamb.org) (216.136.66.56) by sourceware.org with SMTP; 28 Aug 2004 23:51:37 -0000 Received: by calvin.slamb.org (Postfix, from userid 103) id A791E6FCFF; Sat, 28 Aug 2004 18:51:37 -0500 (CDT) Received: from [172.16.1.6] (unknown [216.137.75.157]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by calvin.slamb.org (Postfix) with ESMTP id 9391D6FCFD for ; Sat, 28 Aug 2004 18:51:36 -0500 (CDT) Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: <2ECF1286-F94D-11D8-8E7F-000A95891440@slamb.org> Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-1--534226806" To: gcc-help@gcc.gnu.org From: Scott Lamb Subject: Upgrade "may not respond to" warning to error Date: Mon, 30 Aug 2004 06:44:00 -0000 X-Pgp-Agent: GPGMail 1.0.1 (v33, 10.3) X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on calvin.slamb.org X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=no version=2.64 X-Spam-Level: X-SW-Source: 2004-08/txt/msg00265.txt.bz2 --Apple-Mail-1--534226806 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Content-length: 560 I'd like to have warnings like this: someFile.m:XXX:warning: `SomeObjcClass' may not respond to `-someMessage:' become errors, while not affecting other warnings. So I have two questions: 1) What's the flag for this message? I see -Wundeclared-selector, but that seems to be a slightly different case. 2) Is it possible to do something like -Werror on just some warnings? I'd like some other types of warnings (say, the signedness ones) to be just warnings. I want to see them, but I don't want them to cause compilation to fail. Thanks, Scott --Apple-Mail-1--534226806 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit Content-length: 186 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) iD8DBQFBMRqFcP9yQoMTT3kRAvahAJ9jzzN6k1w1Wha8msVubjV+poUL1wCfYJCv Mru133Z3nMinOs49rSsKqcs= =9SAZ -----END PGP SIGNATURE----- --Apple-Mail-1--534226806--