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] __RING_SIZE() macro not aconstant when compiling under windo

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] __RING_SIZE() macro not aconstant when compiling under windows
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: 2007年10月27日 21:36:10 +1000
Delivery-date: 2007年10月27日 04:36:50 -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
Thread-index: AcgYjZJ6y8uYtz4HR6qtZCG5+UfKtg==
Thread-topic: __RING_SIZE() macro not aconstant when compiling under windows
When I try and use the __RING_SIZE() macro under windows as the size of
an array, the ddk compiler complains that it's not a constant
expression. The exact error it gives is
"
c:\projects\xen\xenvbd\xenvbd.h(43) : error C2057: expected constant
expression
"
Is there something special about gcc that would let this work under it
but not under the windows compiler?
Thanks
James
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] [PATCH] Intel(R) Trusted Execution Technology support , Keir Fraser
Next by Date: Re: [Xen-devel] __RING_SIZE() macro not aconstant when compiling under windows , Mark Williamson
Previous by Thread: [Xense-devel] [PATCH] Intel(R) Trusted Execution Technology support , Cihula, Joseph
Next by Thread: Re: [Xen-devel] __RING_SIZE() macro not aconstant when compiling under windows , Mark Williamson
Indexes: [Date] [Thread] [Top] [All Lists]

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

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