On 29/07/14 07:26, Petter Reinholdtsen wrote:
> Btw, the 0006-Build-without-Werror.patch change you propose seem like
> a wrong approach to me.  Is it not better to fix the warnings than
> making warnings less serious?

Ideally, it is better to fix the warnings *and* make them less serious.

For distributions, the next best thing is to build without -Werror. New
compiler versions frequently introduce new warnings (usually because the
compiler has improved and now warns about more bad things, or
occasionally because it has new false positives) and it doesn't help
anyone if previously-working code starts failing to build.

For upstream development, sure, -Werror all the way. In the Telepathy
project we have configure.ac set up so releases build with non-fatal
warnings by default, but random snapshots from git build with fatal
warnings by default (apart from a couple of undesired warnings which we
explicitly silence) - in practice this means the people who get the
warnings are exactly those who are well-placed to fix them.

    S


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to