autoconf-patches
[Top][All Lists]
Advanced

[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: Eric Blake
Subject: Re: Extend AT_CHECK_MACRO to test macros with -O2 -Wall -Werror
Date: Sat, 10 May 2008 10:15:44 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Didier Barvaux on 5/10/2008 9:37 AM:
| Hi all,
|
| I encountered a problem with the AC_C_CONST macro when using -O2 -Wall
| -Werror as CFLAGS. The AC_C_CONST macro broke with similar CFLAGS some
| time ago [1]. Thus I created a patch that extends the AT_CHECK_MACRO
| macro used in the testsuite.

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.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkglyjAACgkQ84KuGfSFAYCegQCfX3IgUoMTxx+9a+HaDLsJzimR
TDoAoMKsmTg+ffGd4guxDS2AVqSjj20x
=fJAT
-----END PGP SIGNATURE-----




reply via email to

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