24 Jun
2010
24 Jun
'10
2:35 a.m.
Hi John, Thanks for your tips . I searched my system directory , found 2 cstddef files , one is in my VC directory and one is in boost compatibility directory . The latter do import ptrdiff_t into std namespace . It seems boost include the former . Should I copy boost's cstddef to my VC directory ? BTW I'm using WDK (Windows Driver Kit) , C compiler version is 15.00 and not ran bootstrap.bat ever. Many thanks
This makes no sense to me, which VC++ version are you using, and what compiler options? Boost.Array works just fine for me under VC++ and always has.
FYI, ptrdiff_t is defined in crtdefs.h and then imported into namespace std in cstddef - at least it is in VC9.
John.