bug-autoconf
[Top][All Lists]
Advanced

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

Re: AC_C_CONST fails with -Werror


From: Ralf Corsepius
Subject: Re: AC_C_CONST fails with -Werror
Date: Thu, 01 Sep 2011 08:15:22 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.20) Gecko/20110817 Fedora/3.1.12-1.fc14 Thunderbird/3.1.12

On 09/01/2011 07:49 AM, Ralf Wildenhues wrote:
Hello Dan,

* Dan Kegel wrote on Thu, Sep 01, 2011 at 02:06:39AM CEST:
Reviving
https://lists.gnu.org/archive/html/bug-autoconf/2008-11/msg00007.html
https://lists.gnu.org/archive/html/bug-autoconf/2008-11/msg00008.html

There is an argument for fixing AC_C_CONST: the way it breaks
caused strange errors building one package because its config.h
defined const to /**/.   Users shouldn't have to go digging around
to figure stuff like that out.  (Well, ok, any user who does
./configure CFLAGS="-Werror -Wall" is asking for it, and shouldn't
mind digging around, but still.)

We are not sure whether these code changes will still cause the original
tests to be effective in uncovering the same compiler issues, should
someone really need to work with those compilers.  I'll leave it to
Eric to decide whether or not to just ditch this reason.

I don't think trying to cope with -Werror makes sense, because -Werror contradicts the working principles autoconf is based on.

Ralf




reply via email to

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