• 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
Incompatible Pointer Types
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Incompatible Pointer Types


  • Subject: Incompatible Pointer Types
  • From: "Frederick C. Lee" <email@hidden>
  • Date: Mon, 10 May 2004 10:46:36 -0700

Greetings:
	Every once and a while, I get "Incompatible Pointer Types" after to do
a compile of the basic Cocoa-Document project at:

   #import <Cocoa/Cocoa.h>

int main(int argc, char *argv[])
{
     return NSApplicationMain(argc, argv);   <-- here.
}

warning: passing arg 2 of `NSApplicationMain' from incompatible pointer
type

This happens during a virgin compile, using the Cocoa-Document template
w/out additional code.

1) Is this due to OS environment or what?
2) How can a solve this?

Regards,

Ric.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Incompatible Pointer Types
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Programming
  • Next by Date: Re: Programming
  • Previous by thread: Re: Internal Error when loading project
  • Next by thread: Re: Incompatible Pointer Types
  • Index(es):
    • Date
    • Thread