Upgrade "may not respond to" warning to error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: PGP.sig
Description: This is a digitally signed message part


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux