Boost logo

Boost Users :

From: Jeff Garland (jeff_at_[hidden])
Date: 2004-03-14 13:42:46


On Sun, 14 Mar 2004 18:05:13 -0000, Keith MacDonald wrote
> 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?

Good work tracking that down. It looks like maybe there is already a boost
config for this. That is

BOOST_NO_INTRINSIC_WCHAR_T

Could you see if this is defined when you you compile without the /Zc:wchar_t
option on VC7.1? If this is defined I can just use it to define
BOOST_DATE_TIME_NO_WSTRING_CONVERSIONS which would take care of the problem.

Jeff


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net