Re: [Q] NSAssert and Jaguar
Re: [Q] NSAssert and Jaguar
- Subject: Re: [Q] NSAssert and Jaguar
- From: Nicholas Riley <email@hidden>
- Date: Tue, 20 Aug 2002 18:11:06 -0500
- Mail-followup-to: Mark de Jong <email@hidden>, Cocoa Dev Apple <email@hidden>
On Tue, Aug 20, 2002 at 03:57:52PM -0700, Mark de Jong wrote:
>
main.m:45: `_cmd' undeclared (first use in this function)
>
main.m:45: (Each undeclared identifier is reported only once
>
main.m:45: for each function it appears in.)
>
main.m:45: `self' undeclared (first use in this function)
Is the code inside an Objective-C method? If it's just inside a
regular C function, you need to use NSCAssert instead of NSAssert.
--
=Nicholas Riley <email@hidden> | <
http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
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.