Re: ZeroLink and duplicate symbols
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.