Re: Possible GCC Bug?
Re: Possible GCC Bug?
- Subject: Re: Possible GCC Bug?
- From: Jean-Daniel Dupas <email@hidden>
- Date: Tue, 8 Apr 2008 18:50:02 +0200
Le 8 avr. 08 à 18:31, Greg Knight a écrit : Hi Folks, I've been away from 'C' for over ten years, and just come back to port a legacy app to the MAC. The following code is misbehaving under the XCode 3.0 Debug configuration (GCC4). I'd appreciate any suggestions. // int fred has value 13 DisposeWindow(WinData->window); // Carbon call // int fred now has value 27 This is burried in thousands of lines of code, and other calls to DisposeWindow(..) don't affect "fred" at all. My nasty work-around for this is: int Safefred = fred; DisposeWindow(WinData->window); fred = Safefred; Thanks for any suggestions. Greg
Could you also post the WinData and fred declaration ?
|
_______________________________________________
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