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

Bug#615157: Using -Werror in CFLAGS for a debian package build



Le Tue, May 17, 2011 at 01:31:14AM +0200, Wouter Verhelst a écrit :
> 
> What I didn't notice immediately was that gcc was emitting some
> warnings, but that the -Werror option was not honored for those
> warnings. Investigating turned up #615157 (Cc'd): the gcc maintainers
> have decided to disable -Werror for some new warnings, because otherwise
> it would cause FTBFS bugs in packages that have -Werror set in their
> debian/rules file.

Dear Wouter and Matthias, and everybody,

while I do not question the choice made for GCC 4.6, I also note that after
forwarding a disabled FTBFS bug upstream, I had within a day an answer that he
could not reproduce the failure in an up-to-date Sid virtual machine.  Of
course he may have read the explanations more carefully, but he has a point:
even after fixing the error that stopped the build, it is not straightforward
to make sure that the successful build will still be successful after the GCC
patch is reverted.

Is there an easy way we can suggest to our upstreams to re-enable the errors ?
That may be useful for them to update their code.

Have a nice day,

-- 
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan



Reply to: