• 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: Runs on PPC, crashes on Intel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Runs on PPC, crashes on Intel


  • Subject: Re: Runs on PPC, crashes on Intel
  • From: "Robert J. Lang" <email@hidden>
  • Date: Fri, 24 Feb 2006 17:44:22 -0800
  • Thread-topic: Runs on PPC, crashes on Intel

No, this code is called within main(), so it's after static initializers.

Robert

on 2/24/06 3:26 PM, Steve Checkoway at email@hidden wrote:

>
> On Feb 24, 2006, at 2:36 PM, Robert J. Lang wrote:
>
>>   extern stringstream dbgPreCleanupStr;
>>   dbgPreCleanupStr.str("");
>>
>> which looks like a perfectly innocuous, legal call (and indeed, if
>> I build a
>> small test app that includes this call, it compiles and runs on
>> Intel).
>>
>> (stringstream dbgPreCleanupStr is a static variable that was
>> initialized
>> with the default ctor elsewhere.)
>>
>> And, as I said, the app runs fine on PPC.
>
> This looks like a case where you are running into problems with
> initializer order. Is this code being called in another ctor of a
> static object?
>
> - Steve


 _______________________________________________
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: Runs on PPC, crashes on Intel: Steve was right
      • From: "Robert J. Lang" <email@hidden>
References: 
 >Re: Runs on PPC, crashes on Intel (From: Steve Checkoway <email@hidden>)

  • Prev by Date: Re: Problems linking to dylibs in bundle
  • Next by Date: Re: Minor but amazingly annoying bug: text coloring
  • Previous by thread: Re: Runs on PPC, crashes on Intel
  • Next by thread: Re: Runs on PPC, crashes on Intel: Steve was right
  • Index(es):
    • Date
    • Thread