[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: warning: module to simplify adding compiler warnings
From: |
Simon Josefsson |
Subject: |
Re: warning: module to simplify adding compiler warnings |
Date: |
Wed, 12 Nov 2008 09:07:34 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) |
Bruno Haible <address@hidden> writes:
> Ralf Wildenhues wrote:
>> FWIW, I wouldn't use AC_ARG_VAR for gl_WARN_INIT.
>
> Yes, agreed: When the user wants to disable some warnings, he can do so by
> putting the opposite -W options into the CFLAGS when configuring. That's
> what my proposed piece of documentation says. Non-maintainers don't need
> to set different warning options on different subdirectories of the package.
Wouldn't this make it impossible to set WARN_CFLAGS=-Werror when
invoking configure? Or at least make that usage undocumented.
The original motivation for the module was that -Werror cannot go into
CFLAGS, so I need to provide the flag somewhere else, which ended up
being WARN_CFLAGS. If that variable isn't documented as a useful place
to put -Werror in, the motivation for this module is gone for me.
/Simon
- Re: warning: module to simplify adding compiler warnings, (continued)
- Re: warning: module to simplify adding compiler warnings, Paolo Bonzini, 2008/11/11
- Re: warning: module to simplify adding compiler warnings, Simon Josefsson, 2008/11/11
- Re: warning: module to simplify adding compiler warnings, Paolo Bonzini, 2008/11/11
- Re: warning: module to simplify adding compiler warnings, Simon Josefsson, 2008/11/11
- Re: warning: module to simplify adding compiler warnings, Paolo Bonzini, 2008/11/11
- Re: warning: module to simplify adding compiler warnings, Simon Josefsson, 2008/11/11
- Re: warning: module to simplify adding compiler warnings, Paolo Bonzini, 2008/11/11
- Re: warning: module to simplify adding compiler warnings, Simon Josefsson, 2008/11/11
- Re: warning: module to simplify adding compiler warnings, Ralf Wildenhues, 2008/11/11
- Re: warning: module to simplify adding compiler warnings, Bruno Haible, 2008/11/11
- Re: warning: module to simplify adding compiler warnings,
Simon Josefsson <=
- Re: warning: module to simplify adding compiler warnings, Bruno Haible, 2008/11/12
- Re: warning: module to simplify adding compiler warnings, Simon Josefsson, 2008/11/12
- Re: warning: module to simplify adding compiler warnings, Simon Josefsson, 2008/11/12
- Re: warning: module to simplify adding compiler warnings, Bruno Haible, 2008/11/11
- Re: warning: module to simplify adding compiler warnings, Paolo Bonzini, 2008/11/11
- Re: warning: module to simplify adding compiler warnings, Simon Josefsson, 2008/11/12
- Re: warning: module to simplify adding compiler warnings, Simon Josefsson, 2008/11/11
Re: warning: module to simplify adding compiler warnings, Bruno Haible, 2008/11/10