
I've definitely only got VC7.1 on my PC, so that's not the issue. As to
OK, I've found the missing compiler option: /Zc:wchar_t (treat wchar_t as a
built-in type), in vc7.1-tools.jam in tools\build\v1. However, as that
option breaks the wxWidgets library, I cannot use it. Can the date_time
library be made to also work when wchar_t is a typedef to unsigned short?
Thanks,
Keith MacDonald
"Keith MacDonald"
regression tests, I was not familiar with how to build and run them, so I simply tried to compile testgreg_wstream.cpp on its own, using "cl /EHsc /I \CVS\boost". As it failed to compile, there was no question of getting NO_WSTRING conversions.
Having just read up on how to run the regression tests, I've successfully built and run those for date_time, so there must be something simple wrong with my compiler options. What else do I need, apart from "cl /EHsc /I \CVS\boost" -which is sufficient for the regex library?
Thanks, Keith MacDonald
"Jeff Garland"
wrote in message news:20040314162844.M66082@crystalclearsoftware.com... On Sun, 14 Mar 2004 16:07:41 -0000, Keith MacDonald wrote
Thanks for your response.
I get the same results whatever I try, including with testgreg_wstream.cpp. The only way I've been able to get my code working is to define BOOST_DATE_TIME_NO_WSTRING_CONVERSIONS, and then convert to wchar_t myself.
I'll check the CVS dates in a bit, but this leads me to believe you aren't actually using VC7.1? Is that somehow possible? The only other conclusion would be that the regression tests are somehow getting NO_WSTRING conversions set when they are run...
Jeff