autoconf
[Top][All Lists]
Advanced

[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: Bob Friesenhahn
Subject: Re: RFE: macro for warning at configure-time if CFLAGS includes -Werror
Date: Wed, 19 Sep 2012 17:49:39 -0500 (CDT)
User-agent: Alpine 2.01 (GSO 1266 2009-07-14)

On Thu, 20 Sep 2012, Adrian Bunk wrote:

IMHO the best solution for both package maintainers and people compiling
software would be:
- AC_PROG_CC always filters out -Werror
- when -Werror was filtered out, configure prints a message like
 "filtering out -Werror during configure"
- when -Werror was filtered out, AC_OUTPUT re-adds it

If this is done, there will be a compilation error when there is a warning, regardless of the cause of the warning. That is what was requested but it might not be what was desired if a system header produces the warning. The result might fail immediately.

Bob
--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



reply via email to

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