Xcode 2.1 problem with static variables
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