WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

[Xen-devel] [PATCH] Add redundant '&' to the __RING_SIZE macro for Windo

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Add redundant '&' to the __RING_SIZE macro for Windows.
From: "Kirk Allan" <kallan@xxxxxxxxxx>
Date: 2006年10月26日 12:23:39 -0600
Delivery-date: 2006年10月26日 11:27:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
When building PV drivers for Windows guests using the Window's DDK, without the 
'&' you get the compiler error, ?error C2057: expected constant expression?, 
when using the macro for array sizes.
Applies to xen-3.0.3 and xen-unstable.
signed-off-by Kirk Allan <kallan@xxxxxxxxxx>

Attachment: ring.h.diff
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Add redundant '&' to the __RING_SIZE macro for Windows., Kirk Allan <=
Previous by Date: Re: [Xen-devel] A couple of questions about Xen , Keir Fraser
Next by Date: Re: [Xen-devel] A couple of questions about Xen , Eric Benton
Previous by Thread: [Xen-devel] A couple of questions about Xen , Eric Benton
Next by Thread: [Xen-devel] Emulating RDTSC , Diwaker Gupta
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /