• 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: start in NSOperation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: start in NSOperation


  • Subject: Re: start in NSOperation
  • From: Greg Parker <email@hidden>
  • Date: Mon, 06 Jan 2014 15:04:06 -0800

On Jan 6, 2014, at 8:52 AM, Kyle Sluder <email@hidden> wrote:
> On Mon, Jan 6, 2014, at 02:39 AM, Roland King wrote:
>> since the return type isn't part of the
>> signature of a method, overriding it with start which takes no parameters
>> and returns an integer is allowed
>
> I found this unbelievable, but then I wrote a test and confirmed it is
> true.
>
> That's insane. What if the overridde's return type causes it to use a
> different calling convention? I'm gonna file a compiler bug.

Please do. I thought the compiler complained about ABI-incompatible mismatches even without -Woverriding-method-mismatch, but I may be thinking of call-site ambiguities instead of overrides.


--
Greg Parker     email@hidden     Runtime Wrangler



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: start in NSOperation
      • From: Kyle Sluder <email@hidden>
References: 
 >start in NSOperation (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: start in NSOperation (From: Roland King <email@hidden>)
 >Re: start in NSOperation (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: How is my CFRunLoopTimer getting called during a CFReadStream client callback? ANSWER
  • Next by Date: Re: How is my CFRunLoopTimer getting called during a CFReadStream client callback? ANSWER
  • Previous by thread: Re: start in NSOperation
  • Next by thread: Re: start in NSOperation
  • Index(es):
    • Date
    • Thread