Re: warning in main.m
Re: warning in main.m
- Subject: Re: warning in main.m
- From: matt neuburg <email@hidden>
- Date: Thu, 1 Jan 2004 18:17:36 -0800
On Tue, 30 Dec 2003 20:15:13 -0800, matt neuburg <email@hidden> said:
>On 12/30/03 at roughly 7:52 PM, thus spake Creed Erickson <email@hidden>:
>
>>You could try applying the necessary edit to:
>>
>>/Library/Application Support/Apple/Developer Tools/Project
>>Templates/Application/Cocoa Application/main.m
>
>Yes, but here's the point I was trying to make: Why didn't Apple apply this
>edit themselves, as part of the Xcode 1.1 update?
Actually, it's worse than I thought. None of my older projects ("older" means
created before the 1.1 upgrade was applied) has this problem! That's because
*their* main.m declares main like this:
int main(int argc, const char *argv[])
But *now* whenever I create a project, its main.m declares main like this:
int main(int argc, char *argv[])
So, the problem is not that gcc changed. It's that main.m changed. And it
changed from being right to being wrong. I do not know how this happened, or
why no one else is saying it happened on their machine. But I certainly did
not edit main.m myself to cause this. Perhaps there's a bug in the 1.1
installer that does it. 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.