[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: Gecko/20080421 Thunderbird/ Mnenhy/

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
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at
Comment: Using GnuPG with Mozilla -


reply via email to

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