Ralf Corsepius <[email protected]> writes:

> No idea. The working priciples of standard autoconf checks are based on
> evaluating compiler errors only and to ignore warnings[1], therefore -Wall
> -Wextra must not desturb "by definition".

> However, adding -Werror to CFLAGS is dangerous, because this will raise
> GCC warnings to errors, which will cause autoconf to become confused and
> to produce bogus results.

> Ralf

> [1] There exist (non-standard) autoconf checks which are based on
> evaluating compiler warnings. If properly written, these also should not
> be affected by "-Wall -Wextra", ... if they are, these checks need to be
> considered broken ;)

I've clearly just misremembered, then.  Apologies for the noise.

-- 
Russ Allbery ([email protected])             <http://www.eyrie.org/~eagle/>

_______________________________________________
Autoconf mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to