Re: RFE: macro for warning at configure-time if CFLAGS includes -Werror

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

 



On 20 September 2012 01:12, Marko Lindqvist <cazfi74@xxxxxxxxx> wrote:
>  FWIW my opinion as maintainer of several autoconf-using packages is
> that it really should be my decision if -Werror given by user is
> passed to configure tests. However, default could be either way - l
> just need power to override that. I have at least one test that should
> fail if -Werror is going to be used in real software compilation and
> the tested thing is giving warnings.

 Actually, *other* tests in the same configure script will give wrong
results if "-Werror" passed, so ideally it should be easy to give
"-Werror" for that single test only. So maybe filtering by default but
storing information whether "-Werror" was part of original CFLAGS
(CXXFLAGS, CPPFLAGS?) to documented variable or other part of official
API for configure.ac author to reinstate "-Werror" at will.

 This leaves me just wrapping my head around what will happen to other
variables with values based on contents of CFLAGS while it was
filtered, and does it even matter.


 - ML

_______________________________________________
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