• 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: -performSelector: exception... in one build configuration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -performSelector: exception... in one build configuration


  • Subject: Re: -performSelector: exception... in one build configuration
  • From: Christiaan Hofman <email@hidden>
  • Date: Fri, 04 Nov 2011 19:44:47 +0100

On Nov 4, 2011, at 18:52, David Duncan wrote:

> On Nov 4, 2011, at 10:32 AM, Scott Ribe wrote:
>
>> On Nov 4, 2011, at 10:57 AM, David Duncan wrote:
>>
>>> If the source file is Obj-C++ it would work (because C++ would arrange for it to do so).
>>>
>>> But even in that case I don't know why it would fail...
>>
>> Is it guaranteed to give the right result at static init time?
>
>
> I don't know actually. This may in the end be the fundamental issue.
> --
> David Duncan
>

If one doesn't know one shouldn't assume it. And I am pretty sure it's not explicitly guaranteed, while I see no general reason why it should not come too early. The fact that it isn't even allowed in pure obj-c is a good indication that you should not count on it. Moreover, it's clear that in this case it does initialize to the wrong pointer value.

Christiaan

 _______________________________________________
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: -performSelector: exception... in one build configuration
      • From: David Duncan <email@hidden>
References: 
 >-performSelector: exception... in one build configuration (From: Steve Christensen <email@hidden>)
 >Re: -performSelector: exception... in one build configuration (From: Michael Babin <email@hidden>)
 >Re: -performSelector: exception... in one build configuration (From: Steve Christensen <email@hidden>)
 >Re: -performSelector: exception... in one build configuration (From: Steve Christensen <email@hidden>)
 >Re: -performSelector: exception... in one build configuration (From: Christiaan Hofman <email@hidden>)
 >Re: -performSelector: exception... in one build configuration (From: Steve Christensen <email@hidden>)
 >Re: -performSelector: exception... in one build configuration (From: Christiaan Hofman <email@hidden>)
 >Re: -performSelector: exception... in one build configuration (From: Steve Christensen <email@hidden>)
 >Re: -performSelector: exception... in one build configuration (From: Christiaan Hofman <email@hidden>)
 >Re: -performSelector: exception... in one build configuration (From: David Duncan <email@hidden>)
 >Re: -performSelector: exception... in one build configuration (From: Scott Ribe <email@hidden>)
 >Re: -performSelector: exception... in one build configuration (From: David Duncan <email@hidden>)

  • Prev by Date: Re: -performSelector: exception... in one build configuration
  • Next by Date: Re: Assessor Syntax: Why use (id with protocol) vs (class name *)?
  • Previous by thread: Re: -performSelector: exception... in one build configuration
  • Next by thread: Re: -performSelector: exception... in one build configuration
  • Index(es):
    • Date
    • Thread