[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
re: AC_C_CONST fails with -Werror
From: |
Dan Kegel |
Subject: |
re: AC_C_CONST fails with -Werror |
Date: |
Wed, 31 Aug 2011 17:06:39 -0700 |
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.)
Here's a patch that seems to do the trick, only very lightly tested.
c_const.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- re: AC_C_CONST fails with -Werror,
Dan Kegel <=