From: Scott Lamb <slamb@slamb.org>
To: gcc-help@gcc.gnu.org
Subject: Upgrade "may not respond to" warning to error
Date: Mon, 30 Aug 2004 06:44:00 -0000 [thread overview]
Message-ID: <2ECF1286-F94D-11D8-8E7F-000A95891440@slamb.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 560 bytes --]
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
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 186 bytes --]
next reply other threads:[~2004-08-28 23:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-30 6:44 Scott Lamb [this message]
2004-08-30 16:01 ` Eljay Love-Jensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2ECF1286-F94D-11D8-8E7F-000A95891440@slamb.org \
--to=slamb@slamb.org \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).