• 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: Unimplemented Selector Warning 3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unimplemented Selector Warning 3


  • Subject: Re: Unimplemented Selector Warning 3
  • From: Quincey Morris <email@hidden>
  • Date: Tue, 21 Aug 2012 20:29:22 -0700

On Aug 21, 2012, at 20:18 , "Gerriet M. Denkmann" <email@hidden> wrote:

I am a bit confused about the name of this Build Setting: I was expecting a warning when I had something in my code like:
-(int)someValue;
and (in another .h file):
-(id) someValue;

But I got warnings about "Unimplemented selector", which has nothing to do with "Multiple Definition Types" and is also just plainly not true, because these selectors were implemented, and were known to the compiler (via #import) as well.

The warning you were expecting comes from "strict selector matching" (Wstrict-selector-match), which is the 3rd of 3 selector-related build settings. The other two, in addition to what they say they're doing, also warn you if the return type or parameters are different bit widths, so 'int' vs. 'id' doesn't produce a complaint.


 _______________________________________________
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: Unimplemented Selector Warning 3
      • From: "Gerriet M. Denkmann" <email@hidden>
References: 
 >Unimplemented Selector Warning 3 (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Unimplemented Selector Warning 3 (From: Andy Lee <email@hidden>)
 >Re: Unimplemented Selector Warning 3 (From: Roland King <email@hidden>)
 >Re: Unimplemented Selector Warning 3 (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Unimplemented Selector Warning 3 (From: Quincey Morris <email@hidden>)
 >Re: Unimplemented Selector Warning 3 (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: Unimplemented Selector Warning 3
  • Next by Date: Re: Unimplemented Selector Warning 3
  • Previous by thread: Re: Unimplemented Selector Warning 3
  • Next by thread: Re: Unimplemented Selector Warning 3
  • Index(es):
    • Date
    • Thread