From: Horms Subject: Re: Re: [PATCH 01/04] Kexec / Kdump: Generic code Date: Wed, 18 Oct 2006 17:09:54 +0900 Message-ID: <20061018080953.GB2958@verge.net.au> References: <20061018005637.GB11422@verge.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Ian Pratt , Kazuo Moriwaka , xen-devel@lists.xensource.com, magnus.damm@gmail.com, Akio Takebe , Isaku Yamahata , Magnus Damm List-Id: xen-devel@lists.xenproject.org On Wed, Oct 18, 2006 at 08:13:49AM +0100, Keir Fraser wrote: > On 18/10/06 1:56 am, "Horms" wrote: > > >> I'll check this in, so please just get rid of the if(xchg()) hacky > >> workaround. > > > > I have to say that I entirely disagree with your solution. > > I think the solution is to get rid of -Werror. But I will > > remove the if(xchg()) foo as you request. > > Holy crap! Getting rid of Werror makes Wall much less useful. We're too lazy > to scan build output for warnings if they don't break the build. > > The GCC developers have basically broken the unused-value checking, at least > for Linux-style code which is heavy on macro usage. If a particular warning > option is no longer useful, the correct answer is to switch it off. I'm quite happy with that argument. However I personally prefer a severity differenation between warnings and errors, that is all. -- Horms H: http://www.vergenet.net/~horms/ W: http://www.valinux.co.jp/en/