From: Olaf Hering Subject: Re: [PATCH 11 of 18] tools/libxl: fix build errors caused by Werror in disk_eject_xswatch_callback Date: Tue, 3 Apr 2012 11:11:26 +0200 Message-ID: <20120403091126.GB27810@aepfle.de> References: <46ec38b96a225eadcadd.1333095928@probook.site> <20345.44861.163125.224414@mariner.uk.xensource.com> <20120402195816.GB21392@aepfle.de> <1333441832.25602.112.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1333441832.25602.112.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: "xen-devel@lists.xensource.com" , Ian Jackson List-Id: xen-devel@lists.xenproject.org On Tue, Apr 03, Ian Campbell wrote: > [0] Even gcc(1) says: > -Wno-format-zero-length (C and Objective-C only) > If -Wformat is specified, do not warn about zero-length formats. > The C standard specifies that zero-length formats are allowed. > So quite why it appears that Wall is enabling Wformat-zero-length I have > no idea, this is a clear gcc bug in my opinion. Thats what they say: " olaf_: warnings aren't just about things that aren't allowed in the standard, but about things considered bad by significant amount of users" So gcc wont be changed. Olaf