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

Re: Using -Werror in CFLAGS for a debian package build



On 2011-05-17, Russ Allbery <rra@debian.org> wrote:
> I don't like seeing us modify upstream compiler behavior in Debian this
> way, but I can understand not wanting to introduce what could have easily
> been hundreds of failures.  (The problem, of course, is that those
> failures are still latent, and unless we're going to keep this going
> forward, we have cleanup to do so that we can go back to tracking GCC's
> normal behavior.)

I have seen several bug reports from the gcc maintainer saying

| This package builds with -Werror, and GCC 4.6 triggers new warnings
| which will make the package fail to build.  Currently a Debian patch
| just passes
|    -Wno-error=unused-but-set-variable and
|    -Wno-error=unused-but-set-parameter
| to avoid build failures, but this patch will be reverted with the
| GCC 4.6.1 release, and the severity of the report will be raised.

Which I_think is a good compromise, and a case where I really think the
gcc maintainer is doing good a communicating.

/Sune


Reply to: