[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


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.

Attachment: c_const.patch
Description: Text Data

reply via email to

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