• 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
Xcode 2.1 problem with static variables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode 2.1 problem with static variables


  • Subject: Xcode 2.1 problem with static variables
  • From: Brad Marston <email@hidden>
  • Date: Wed, 15 Jun 2005 15:38:05 -0400

Hello,

In recompiling some C and Objective-C / Cocoa code using the new Xcode version 2.1 I've encountered a problem. Things run fine with version 2.0 of Xcode, but with version 2.1 I'm getting runtime errors involving (only) static variables. One static variable appears in the function "ran1" from Numerical Recipes; static variables also serve as a hack for class fields in Objective-C objects -- but in both instances the code compiles fine, but crashes when run. (The code runs when the static variables are removed.)

Has anyone else encountered this problem? (I'm only targeting PPC processors, not developing on the new Intel boxes.)

    Thanks,
        Brad Marston

_______________________________________________
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


  • Prev by Date: Re: Xcode 2.1 saving lag
  • Next by Date: Re: pre processing problem xcode 2.1
  • Previous by thread: Re: libicucore?
  • Next by thread: XCode PPC cross-development compiling
  • Index(es):
    • Date
    • Thread