• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problems with XCode 1.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Problems with XCode 1.2
      • From: Peter Wollschlaeger <email@hidden>
References: 
 >Problems with XCode 1.2 (From: April Gendill <email@hidden>)
 >Re: Problems with XCode 1.2 (From: Scott Anguish <email@hidden>)
 >Re: Problems with XCode 1.2 (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: can't get NSZombie to work
  • Next by Date: Re: xCode 1.2
  • Previous by thread: Re: Problems with XCode 1.2
  • Next by thread: Re: Problems with XCode 1.2
  • Index(es):
    • Date
    • Thread