[AD] ./configure --enable-strictwarn

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


... has been broken for ages, because -Werror turns the warnings in the 
various configure checks into errors, thus causing the checks to fail. And 
the build breaks because of a mismatch between the prototype of the libc 
memcmp() and that of _alemu_memcmp (AL_CONST is defined to nothing).

The attached patch fixes the problem by postponing the inclusion of -Werror 
in the CFLAGS variable until after all configure checks have completed.

Starting from now, Unix developers submitting patches will be required to 
check that the library builds with ./configure --enable-strictwarn.

Applied to trunk and branch.

-- 
Eric Botcazou

Attachment: configure2.zip
Description: Zip archive



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