Re: Problems with XCode 1.2
Re: Problems with XCode 1.2
- Subject: Re: Problems with XCode 1.2
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 28 Apr 2004 07:35:24 -0600
On Apr 28, 2004, at 2:49 AM, Scott Anguish wrote:
Xcode 1.1 had the main code slightly messed up. The args are not set
as const.
I'd have expected the fix for that to be in Xcode 1.2, but perhaps
not. You can fix the template pretty easily though. Check the Xcode
mailing list for more info.
Actually, the args in the templates are correct; the bug is
NSApplicationMain() requiring a constant for argv. From the C9X
specification at <
http://www.vmunix.com/~gabor/c/draft.html>:
- The parameters argc and argv and the strings pointed to
by the argv array shall be modifiable by the program,
and retain their last-stored values between program
startup and program termination.
I'll also file a bug on this, although I know it's most likely going to
be a duplicate.
Nick Zitzmann
<
http://www.chronosnet.com/>
_______________________________________________
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.