> Jeffrey Squyres, le Tue 13 Mar 2012 17:23:02 +0100, a écrit : > > Is the implication here that some flavors of windows have 32 bit ulongs? > > win32/64 is a platform where ulong is always 32bit. > > > And we need to deal with that? Or is this a compiler-specific issue? > (i.e., mingw doesn't have these kinds of issues -- only MSVC does?). > > mingw and cygwin follow the msvc ABI, and I was aware of this. I just > could never really test it.
As I said, it's nothing depending on ulong having different sizes - it is 32bits everywhere on windows. It's because you're assuming KAFFINITY (which is a ULONG_PTR or so) to always be 32bits. Regards Hartmut --------------- http://boost-spirit.com http://stellar.cct.lsu.edu