Re: Problems with XCode 1.2
Re: Problems with XCode 1.2
- Subject: Re: Problems with XCode 1.2
- From: Charles Srstka <email@hidden>
- Date: Wed, 28 Apr 2004 11:56:10 -0500
On Apr 28, 2004, at 8:35 AM, Nick Zitzmann wrote:
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.
How on earth did this get past the testers anyway? Did none of them
ever try making a new project and compiling it?!
Charles
_______________________________________________
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.