[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-zile] [PATCH] build: don't use -Werror in AM_INIT_AUTOMAKE
From: |
Ulrich Mueller |
Subject: |
Re: [Bug-zile] [PATCH] build: don't use -Werror in AM_INIT_AUTOMAKE |
Date: |
Wed, 1 May 2013 09:09:03 +0200 |
>>>>> On Wed, 1 May 2013, Reuben Thomas wrote:
> On 30 April 2013 22:48, Stefano Lattarini <address@hidden> wrote:
> Doing so prevents bootstrapping with bleeding-edge autotools,
> because of harmless deprecation warnings (that are not planned
> to become hard errors for at least a few years to come). And
> unfortunately, options in AM_INIT_AUTOMAKE take precedence over
> those given on the command line (this is a long-time wart of
> automake), so the -Werror setting cannot be easily overridden
> from the command line :-(
> Thanks very much for the heads up, but what in this case would it
> take to fix the warnings?
The warnings should be fixed, but -Werror should be turned off in any
case. It is a nuisance for distros, because with new compiler or
autotools versions new warnings tend to appear.
See this excellent blog post by Diego Pettenò, who explains it much
better than I could:
http://blog.flameeyes.eu/2009/02/future-proof-your-code-dont-use-werror
Ulrich