|
Boost Users : |
Subject: Re: [Boost-users] MS VC++ wchar_t type build Q
From: Scott Morgan (blumf_at_[hidden])
Date: 2008-09-04 06:01:18
Adam Merz wrote:
> Scott Morgan <blumf <at> blueyonder.co.uk> writes:
>
>> Is there an option to build the Boost libs with or without the wchar_t
>> treated as built in (that whole /Zc:wchar_t mess MS dropped on us)
>>
>
> How is being standards conformant 'a mess'?
>
When it's not default and half the libs you use have it and half don't.
> Anyway, /Zc:wchar_t is passed to the compiler by default, and there is no
> built-in option you can pass to bjam to control this behavior. However, what you
> can do is, before building Boost, edit your tools/build/v2/tools/msvc.jam file
> and remove '/Zc:wchar_t' from line 532. (Be sure to leave a space in front of
> the line's terminating semicolon.) Then, to explicitly enable or disable the
> option, you can pass either cxxflags="-Zc:wchar_t" or cxxflags="-Zc:wchar_t-" to
> bjam.
Thanks.
Scott
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