From: "Jan Beulich" Subject: Re: tmem 32-on-64 needs (Re: [PATCH] tmem cleanup) Date: Tue, 16 Jun 2009 07:57:01 +0100 Message-ID: <4A375E5D0200007800005DB4@vpn.id2.novell.com> References: <4A366CFA0200007800005B2B@vpn.id2.novell.com> <4A3672360200007800005B54@vpn.id2.novell.com> <20090615185409.GA19567@movementarian.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20090615185409.GA19567@movementarian.org> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: John Levon Cc: dan.magenheimer@oracle.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >>> John Levon 15.06.09 20:54 >>> >On Mon, Jun 15, 2009 at 03:09:26PM +0100, Jan Beulich wrote: > >> sending a patch out for: xen/include/public/tmem.h uses anonymous = unions >> and structures - all other public headers (with the exception of the = declaration >> of xenpf_set_processor_pminfo and xen_sysctl_pm_op, which probably are >> mistakes/oversights) > >FYI both the pminfo code and anything else that uses anon struct/unions = in >public headers is a constant pain for us. Sun Studio compilers can sort >of do it, but it's too buggy to use right now. I'll have to see whether gcc has a mode to make it reject anything non- standard - if so, I'd like to add to the build a header validation step = that ensures no extensions are used outside of __GNUC__, __XEN__, or __XEN_TOOLS= __ conditionals. In any case, I added fixing the public headers to my to-do list. Jan