Re: Warnings for undeclared methods?
Re: Warnings for undeclared methods?
- Subject: Re: Warnings for undeclared methods?
- From: Jeremy Pereira <email@hidden>
- Date: Mon, 21 Dec 2009 10:55:59 +0000
On 19 Dec 2009, at 21:31, Rick Mann wrote:
> Using clang and llvm-gcc, I can't seem to get warnings for methods that haven't been declared (Objective C++). I have the settings checked in the project, but no warnings are actually issued. Am I missing something?
I thought that was deliberate - there is no warning unless you try to use the method before you declare or define it. It's quite useful for test case classes because you don't have to declare your tests in a header that's never actually used anywhere (except in the implementation of the same class).
>
> TIA,
> Rick
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden