Re: [AD] [ alleg-Bugs-2703105 ] remove END_OF_MAIN

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sat, 2010-01-23 at 12:24 -0700, Trent Gamblin wrote:
> On Sat, January 23, 2010 11:29 am, Evert Glebbeek said:
> > The Windows port is untested and I would be grateful if someone could test this. From previous
> > discussion (http://www.allegro.cc/forums/thread/596872/756993#target), the implemented solution is
> >  1. Do nothing for MinGW
> 
> I tested on MinGW, and it doesn't work as is. I made some modifications to make it work (full
> patch attached).
> I can try MSVC later maybe.
> 
> Oh, I removed END_OF_MAIN() from all the examples and demo.
> 

I can confirm that both shared and static versions compile and work (in
wine) with the mingw cross-compiler after applying this patch.

-- 
Elias Pschernig <elias.pschernig@xxxxxxxxxx>





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/