|
Boost : |
From: Anthony Williams (anthony.williamsNOSPAM_at_[hidden])
Date: 2003-10-30 07:00:36
"John Maddock" <john_at_[hidden]> writes:
> Currently the vc7 and vc7.1 toolsets turn on /Zc:wchar_t unconditionally
> when building, however this is not the default option in current versions of
> the IDE, and of course the two options produce binary-incompatible libraries
> (at least as far as regex is concerned).
>
> How should we handle this?
We use VC7.1 here, and set /Zc:wchar_t on for every build. This works fine
with MFC and ATL.
Not having it set produces weird side effects, because unsigned shorts are
suddenly treated as wide characters in some circumstances.
Anthony
-- Anthony Williams Senior Software Engineer, Beran Instruments Ltd. Remove NOSPAM when replying, for timely response.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk