[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extend AT_CHECK_MACRO to test macros with -O2 -Wall -Werror

From: Didier Barvaux
Subject: Re: Extend AT_CHECK_MACRO to test macros with -O2 -Wall -Werror
Date: Sat, 10 May 2008 20:39:16 +0200

> Thanks for the patch.  However, I don't want to apply it just yet.
> There is a bigger issue that several tests fail when running the
> autoconf testsuite under -Wall -Werror (I have tried this in the
> past); in particular, some warnings occur when testing for functions
> that might be implemented as a compiler builtin (such as printf) for
> which I don't know how to silence the warning.  Changing
> AT_CHECK_MACRO without a fix for every macro provided by autoconf
> will lead to false testsuite failures.

Look at the patch. Use -fno-builtin to silence the warning.

On my system, the testsuite gives me the same results with the patches
applied (the one for AC_C_CONST and the one for AT_CHECK_MACRO) and
without. However some tests fails in both cases.


Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]