Re: err = noErr; // Intel binary (only) crashes here
Re: err = noErr; // Intel binary (only) crashes here
- Subject: Re: err = noErr; // Intel binary (only) crashes here
- From: Greg Guerin <email@hidden>
- Date: Sun, 2 Sep 2007 10:49:40 -0700
Kyle Sluder wrote:
>Apparently there's an err defined in libSystem.dylib, as the linker is
>complaining about.
>
>Try renaming your variable to myErr and see what happens.
I think this would also solve the problem, at least for the bug demo:
static OSStatus err;
It won't fly in a real-world situation, if 'err' has to be extern for other
compilation units. Then a name change would be needed.
The existing 'err' symbol in libSystem.dylib turns out to be one of a set
of functions whose man page is 'man err'.
-- GG
_______________________________________________
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