autoconf
[Top][All Lists]
Advanced

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

Re: Problems Configuring (C Compiler cannot produce executables)


From: Russ Allbery
Subject: Re: Problems Configuring (C Compiler cannot produce executables)
Date: Thu, 23 Aug 2012 11:12:01 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Ralf Corsepius <address@hidden> 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 (address@hidden)             <http://www.eyrie.org/~eagle/>



reply via email to

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