[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFE: macro for warning at configure-time if CFLAGS includes -Werror
From: |
Marko Lindqvist |
Subject: |
Re: RFE: macro for warning at configure-time if CFLAGS includes -Werror |
Date: |
Thu, 20 Sep 2012 01:30:04 +0300 |
On 20 September 2012 01:12, Marko Lindqvist <address@hidden> 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
- Re: RFE: macro for warning at configure-time if CFLAGS includes -Werror, (continued)
Re: RFE: macro for warning at configure-time if CFLAGS includes -Werror, Bob Friesenhahn, 2012/09/19
Re: RFE: macro for warning at configure-time if CFLAGS includes -Werror, Marko Lindqvist, 2012/09/19