• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Warnings for undeclared methods?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Warnings for undeclared methods?
      • From: Rick Mann <email@hidden>
    • Re: Warnings for undeclared methods?
      • From: Chris Espinosa <email@hidden>
References: 
 >Warnings for undeclared methods? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Missing Documentation index.html files..
  • Next by Date: Re: Warnings for undeclared methods?
  • Previous by thread: Warnings for undeclared methods?
  • Next by thread: Re: Warnings for undeclared methods?
  • Index(es):
    • Date
    • Thread