Re: [AD] `main' define on OS X

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


On Tue, 04 Dec 2012 12:29:42 -0700, Trent Gamblin <nooskewl@xxxxxxxxxx> wrote:
> I didn't test this when it was proposed, but it was pointed out that this makes the examples fail to compile:
> 
> /Users/trent/code/allegro/demos/skater/src/skater.c:24: error: conflicting types for ‘_al_mangled_main’
> /Users/trent/code/allegro/include/allegro5/platform/alosx.h:64: error: previous declaration of ‘_al_mangled_main’ was here

Oops, that was stupid of me.

Peter




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