From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: Re: [PATCH] libxl: Introduce LIBXL_DOMAIN_TYPE_INVALID to make gcc happy Date: Wed, 23 May 2012 11:30:00 +0200 Message-ID: <4FBCAE18.2030209@amd.com> References: <4FB63171.3020102@amd.com> <4FB63EB6.10803@amd.com> <1337351445.16815.19.camel@Solace> <1337351979.22316.123.camel@zakaz.uk.xensource.com> <1337352492.16815.22.camel@Solace> <1337352958.22316.126.camel@zakaz.uk.xensource.com> <1337353667.16815.25.camel@Solace> <1337681771.10118.69.camel@zakaz.uk.xensource.com> <1337698697.20890.5.camel@Abyss> <1337699271.10118.140.camel@zakaz.uk.xensource.com> <1337703493.27368.18.camel@Solace> <4FBCA702.4010009@amd.com> <1337765002.27368.65.camel@Solace> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1337765002.27368.65.camel@Solace> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Dario Faggioli Cc: Ian Campbell , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On 05/23/12 11:23, Dario Faggioli wrote: > On Wed, 2012-05-23 at 10:59 +0200, Christoph Egger wrote: >>> 8<--------------------------- >>> >>> libxl: make libxl__domain_type return 'int' >>> >>> To avoid gcc > 4.6.3 complaining about: >> >> >> I have gcc 4.5.3 and see this. >> Christoph >> > Ups! You said it earlier but I forgot to go and check your gcc version, > and just considered mine. Sorry. :-P I think, this affects all gcc versions where -Wswitch is on by default. If we build libxl with passing -Wswitch in the build system then this should be reproducable with any gcc version. Christoph > > Anyway, let's see what is the fix they want, then we'll decide about a > proper changelog. :-) > > Thanks and Regards, > Dario > -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85689 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632