• 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: err = noErr; // Intel binary (only) crashes here
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: err = noErr; // Intel binary (only) crashes here
  • Next by Date: .#_XCSCM_ files?
  • Previous by thread: Re: err = noErr; // Intel binary (only) crashes here
  • Next by thread: .#_XCSCM_ files?
  • Index(es):
    • Date
    • Thread