[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: |
Eric Blake |
Subject: |
Re: Extend AT_CHECK_MACRO to test macros with -O2 -Wall -Werror |
Date: |
Sat, 10 May 2008 12:54:32 -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 12:39 PM:
|
| Look at the patch. Use -fno-builtin to silence the warning.
gcc isn't the only compiler, but -fno-builtin is not universally
available. Blindly setting CFLAGS to include options that are not
globally portable is insufficient; the patch must also make sure that the
options are supported by the current compiler. That's where things get
tricky, which is why I haven't bothered to try patching it. It also means
that any patch to get it working will probably require copyright
assignment; would you be interested in starting that process?
|
| 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.
Which tests? Can you post the testsuite.log from an unpatched run?
- --
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
iEYEARECAAYFAkgl72gACgkQ84KuGfSFAYChhQCfXKKy149G6ElSC1rjHb3EnclX
8xQAoLe0ihrj6UzbEkIosgOVKRWPBp9H
=OpYE
-----END PGP SIGNATURE-----