|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] sizeof(long) different under windows x64 and linux x64
Andy Grover wrote:
I think it's very hard to be LP64/LLP64-clean without actual testing on
both.
Printf format statements need to reflect whether the 64 bit type is a
long or a long long.
uintptr_t foo
printf("%lx", foo) or printf("%llx", foo);
This can be a pain to resolve. /usr/include/inttypes.h has defines that
are supposed to help with this, but they are ugly to use.
--
Chris Morrow YottaYotta Inc. email: cmorrow@xxxxxxxxxxxxxx
phone: (780) 989 6814 web: http://www.yottayotta.com
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|