• 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: passing arg 2 of 'NSApplicationMain' from incompatible pointer type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: passing arg 2 of 'NSApplicationMain' from incompatible pointer type (From: Denis Stanton <email@hidden>)

  • Prev by Date: HELP:Mainmenu nib won't load!
  • Next by Date: Re: NSArchiverArchiveInconsistency ???
  • Previous by thread: Re: passing arg 2 of 'NSApplicationMain' from incompatible pointer type
  • Next by thread: HELP:Mainmenu nib won't load!
  • Index(es):
    • Date
    • Thread