From: Keir Fraser Subject: Re: [PATCH] Partial fix for compat build non-portability Date: Wed, 10 Jan 2007 18:21:05 +0000 Message-ID: References: <20070110173719.GA31121@totally.trollied.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070110173719.GA31121@totally.trollied.org.uk> 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: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 10/1/07 17:37, "John Levon" wrote: > Still to be resolved is the pragma pack push issue; this is non-portable > pragma only enabled on some targets, as it's intended for win32 > compatibility not something for general use. We should be wrapping each > structure in a pragma pack(4) / pragma pack() pair, but trying to fix > that makes my head hurt, and Jan isn't interested. We only care about it working for the x86/64 target since that's the only one that asserts CONFIG_COMPAT. Why would wrapping structs individually be better than wrapping whole header files? -- Keir