Re: [AD] [ alleg-Bugs-2703105 ] remove END_OF_MAIN |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: "Coordination of admins/developers of the game programming library Allegro" <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] [ alleg-Bugs-2703105 ] remove END_OF_MAIN
- From: "Trent Gamblin" <trent@xxxxxxxxxx>
- Date: Sun, 24 Jan 2010 11:11:49 -0700 (MST)
On Sun, January 24, 2010 9:10 am, Evert Glebbeek said:
> Ok, slightly cleaned up patch (including Trent's changes) attached. I'll probably just go ahead
> and commit this in a few hours.
> Differences with the previous patch include an attempt to also correct the iPhone port (but this
> is untested) and a fix for the UNIX magic main no-one uses anymore, so that's also untested. Where
> it's needed (ie, OS X) I've renamed _mangled_main to _al_mangled_main for no particular reason
> other than we've prefixed everything else.
> I've purged all mention of END_OF_MAIN() from the library.
> Something I should do is check all of the C++ examples and make sure they use main(int, char**),
> this should not be hard.
I will test it on MinGW, MSVC, and iPhone now if you can wait before committing it.
Trent :{)>