bug-autoconf
[Top][All Lists]
Advanced

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

RE: -Werror breaks autoconf tests, but not actual source code


From: Millaway, John
Subject: RE: -Werror breaks autoconf tests, but not actual source code
Date: Thu, 11 Dec 2003 18:41:00 -0500

> > One of them is AC_HEADER_STDC, which gets a warning for 
> implicit declaration
> > of 'exit':
> 
> That problem is easily fixed as shown below.

It would be nice to specify CFLAGS that aren't automatically included in the
autoconf tests. e.g,

   CFLAGS="-g -Wall"  CFLAGS_FOR_MAKE="-Werror"  ./configure

which would pass "-g -Wall" to the configure tests, and "-g -Wall -Werror"
to the actual `make' step.







reply via email to

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