• 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: ZeroLink and duplicate symbols
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ZeroLink and duplicate symbols


  • Subject: Re: ZeroLink and duplicate symbols
  • From: "James J. Merkel" <email@hidden>
  • Date: Wed, 28 Apr 2004 11:46:58 -0700

On April 28, 2004 6:17:31 AM Nick Zitzmann wrote:
On Apr 27, 2004, at 10:24 PM, James J. Merkel wrote:

1) Does ZeroLink need to be enabled for debugging to work?

No.

2) If ZeroLink is enabled, I get the following error at run time:
[...]
The symbols ifp and numberType are used by both functions and by
methods. I declared these variables above the @interface block along
with the functions ushort fget2(FILE *f); and int fget4(FILE *f);
like so:

Try declaring them as "extern" in the header file(s) and declare the
real thing in a source file that includes the header file(s).

Ok, that fixed the problem. I can run in ZeroLink mode. Also, with ZeroLink enabled the debugger works -- i.e. I can set breakpoints and stop on breakpoints. I have not been able to do this up until now. However, if ZeroLink is not enabled, I can't set breakpoints. The debugger does not recognize file names. Hence my first question above. Regardless, this has gotten me over a big stumbling block in using the debugger. Thanks for your help.

Jim Merkel
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: Cocoa Bindings, NSMatrix, setting programmatically
  • Next by Date: Panel items failing to draw
  • Previous by thread: Re: ZeroLink and duplicate symbols
  • Next by thread: Problems with Xcode 1.2 - SetFile
  • Index(es):
    • Date
    • Thread