[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] __RING_SIZE() macro not aconstant when compiling under windows


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
  • Date: Sat, 27 Oct 2007 21:36:10 +1000
  • Delivery-date: Sat, 27 Oct 2007 04:36:50 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.