Boost logo

Boost :

From: Nicodemus (nicodemus_at_[hidden])
Date: 2003-06-24 14:14:54


David Abrahams wrote:

>"John Maddock" <jm_at_[hidden]> writes:
>
>
>>but that it isn't being turned on in the compiler - perhaps a boost.build
>>expert can jump in here....
>>
>>
>
>The code which handles it is:
>
> # tell the compiler about the base toolset.
> if $(INTEL_BASE_MSVC_TOOLSET) = msvc
> {
> C++FLAGS += /Qvc6 ;
> # no wchar_t support in vc6 dinkum library.
> }
> else
> {
> if $(version) > 5
> {
> # Add support for wchar_t
> C++FLAGS += /Zc:wchar_t
> # Tell the dinkumware library about it.
> -D_NATIVE_WCHAR_T_DEFINED
> ;
> }
>
> C++FLAGS += /Q$(INTEL_BASE_MSVC_TOOLSET) ;
> }
>
>If your installation path for the compiler includes a "CompilerXX"
>element, where XX is a two-digit number, it will deduce the version
>from that. Otherwise, you should set INTEL_VERSION to a one digit
>number, "7" in your case. Note that if you installed Intel to use
>msvc6 as its back-end toolset, you won't get wchar_t support either
>because the standard library can't handle it.
>

Yes, that is the problem, my compiler is not installed in the usual
folder. Setting INTEL_VERSION solved the problem. Thanks a lot Dave!

Regards,
Nicodemus.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk