Re: [AD] 4.9 on Snow Leopard

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


On Sun, September 13, 2009 4:58 pm, Peter Wang said:
> On 2009-09-13, Trent Gamblin <trent@xxxxxxxxxx> wrote:
>> I just tried compiling 4.9 on SL and ran into a few problems. Fixing them just meant
>> commenting the lines out... I guess the real fix is to somehow check for OS X version
>> and add some ifdefs? The changes I had to make are attached.
>
> Can you post the warnings?
>
> Peter

Well there are tonnes of warnings, and also several errors. Here's what I get without
any of those changes I made.



Trent CD:-)
/Users/trent/4.9-svn/src/misc/bstrlib.c:2747: error: expected declaration specifiers or â??...â?? before numeric constant
/Users/trent/4.9-svn/src/misc/bstrlib.c:2747: error: expected declaration specifiers or â??...â?? before â??__builtin_object_sizeâ??
/Users/trent/4.9-svn/src/misc/bstrlib.c:2747: warning: conflicting types for built-in function â??__builtin___vsnprintf_chkâ??
/Users/trent/4.9-svn/src/misc/bstrlib.c: In function â??_al_bformataâ??:
/Users/trent/4.9-svn/src/misc/bstrlib.c:2795: warning: passing argument 4 of â??__builtin___vsnprintf_chkâ?? makes pointer from integer without a cast
/Users/trent/4.9-svn/src/misc/bstrlib.c:2795: error: too many arguments to function â??__builtin___vsnprintf_chkâ??
/Users/trent/4.9-svn/src/misc/bstrlib.c: In function â??_al_bassignformatâ??:
/Users/trent/4.9-svn/src/misc/bstrlib.c:2843: warning: passing argument 4 of â??__builtin___vsnprintf_chkâ?? makes pointer from integer without a cast
/Users/trent/4.9-svn/src/misc/bstrlib.c:2843: error: too many arguments to function â??__builtin___vsnprintf_chkâ??
/Users/trent/4.9-svn/src/misc/bstrlib.c: In function â??_al_bformatâ??:
/Users/trent/4.9-svn/src/misc/bstrlib.c:2890: warning: passing argument 4 of â??__builtin___vsnprintf_chkâ?? makes pointer from integer without a cast
/Users/trent/4.9-svn/src/misc/bstrlib.c:2890: error: too many arguments to function â??__builtin___vsnprintf_chkâ??
/Users/trent/4.9-svn/src/misc/bstrlib.c: In function â??_al_bvcformataâ??:
/Users/trent/4.9-svn/src/misc/bstrlib.c:2938: warning: passing argument 4 of â??__builtin___vsnprintf_chkâ?? makes pointer from integer without a cast
/Users/trent/4.9-svn/src/misc/bstrlib.c:2938: error: too many arguments to function â??__builtin___vsnprintf_chkâ??
make[2]: *** [CMakeFiles/allegro.dir/src/misc/bstrlib.c.o] Error 1
make[1]: *** [CMakeFiles/allegro.dir/all] Error 2
make: *** [all] Error 2


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