From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Wolf Subject: Re: xen-unstable build failure in tools/blktap/drivers for block-qcow2.c Date: Thu, 28 Feb 2008 13:14:16 +0100 Message-ID: <47C6A598.7010808@suse.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: 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: Srinivas Maturi , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > Properly speaking we should check those write() return values anyway. If we > don't want to deviate from the qemu original sources that much then we could > special-case CFLAGS to remove -Wno-unused for just that file. Shouldn't -Wno-unused disable the check rather than enabling it? Removing it causes even more warnings. Maturi's compiler just seems to ignore that switch. I could compile the code with both gcc 4.1.2 and 4.3.0 without any such problems. Kevin