warning in main.m
warning in main.m
- Subject: warning in main.m
- From: matt neuburg <email@hidden>
- Date: Tue, 30 Dec 2003 17:24:14 -0800
Since upgrading to Xcode 1.1, every new project that I create generates a
warning in main.m when I try to compile it:
// main.m
#import <Cocoa/Cocoa.h>
int main(int argc, char *argv[])
{
return NSApplicationMain(argc, argv); // warning here!
}
The warning reads: "passing arg 2 of `NSApplicationMain' from incompatible
pointer type".
What does this mean and how do I make it stop? Why is it happening all of a
sudden like this? Thx - m.
--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
AppleScript: the Definitive Guide! NOW SHIPPING...! (Finally.)
http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
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.