Re: passing arg 2 of 'NSApplicationMain' from incompatible pointer type
Re: passing arg 2 of 'NSApplicationMain' from incompatible pointer type
- Subject: Re: passing arg 2 of 'NSApplicationMain' from incompatible pointer type
- From: Shawn Erickson <email@hidden>
- Date: Wed, 18 Feb 2004 14:20:41 -0800
On Feb 18, 2004, at 2:13 PM, Denis Stanton wrote:
Hi Shawn
On Thursday, February 19, 2004, at 10:53 AM, Shawn Erickson wrote:
It is a glitch in the templates for Xcode... simply add "const" in
front of "char *argv[]" or ignore the warning.
Thank you for the extremely rapid response. This list is impressive.
Thanks also for telling me how to avoid this in future.
As the template files are locked to prevent uneducated fiddling I
think I might just correct each generated application and wait for the
templates to correct themselves in the next update. A few careless
souls have mentioned a hypothetical Xcode 1.1.1 on this list.
Oops I forgot to mention that, I think, you can copy and fix the
templates under your own user by copying the files to ~/Application
Support/...blah...
Xcode will pick up and use any ones found under ~/Application
Support/... first. At least I think, I didn't bother fixing them myself
that way but fixed the originals directly.
-Shawn
_______________________________________________
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.