Re: Problems Configuring (C Compiler cannot produce executables)

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

 



Ralf Corsepius <rc040203@xxxxxxxxxx> 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 (rra@xxxxxxxxxxxx)             <http://www.eyrie.org/~eagle/>

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux