From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E1F721381F3 for ; Fri, 3 May 2013 13:46:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 52332E096D; Fri, 3 May 2013 13:46:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6DFC1E0962 for ; Fri, 3 May 2013 13:46:46 +0000 (UTC) Received: from marga.jer-c2.orkz.net (D4B2706A.static.ziggozakelijk.nl [212.178.112.106]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jer) by smtp.gentoo.org (Postfix) with ESMTPSA id 356F233DD28 for ; Fri, 3 May 2013 13:46:45 +0000 (UTC) Date: Fri, 3 May 2013 15:46:41 +0200 From: Jeroen Roovers To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Packages using -Werror Message-ID: <20130503154641.06d302d1@marga.jer-c2.orkz.net> In-Reply-To: References: <20130502220934.10f514c5@caribou.gateway.2wire.net> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.16; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: ba3554aa-0c1f-4d84-a9a7-11a202326ccb X-Archives-Hash: 7ea71f09e693a394ba2fe0084e2b3cac On Fri, 3 May 2013 16:06:01 +0800 Ben de Groot wrote: > Personally I've always thought -Werror is a mistake in release code, > but was accepted practice. I've almost never actively removed it from > packages I maintain. That will change now, upon learning of this > policy. Debian here and there actively fixes compiler warnings by enabling -Werror and then checking what fails to build. I even see revision bumps because of some of the milder compiler warnings. Maybe other distros do this as well. It's kind of a blunt instrument to perform QA with, but I guess it does get code cleaned up slightly better than with no checks at all or by merely depending on runtime failures to be reported. jer