Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-02-09 03:19:23

Alexei Alexandrov wrote:

> Hi All!
> I remember that in the first Boost.Build there was an option which allowed
> to choose whether native wchar_t should be used or typedef-ed to "unsigned
> short". In v2 the behavior seems to be hardcoded as "always native
> wchar_t".

I suppose you are talking about Microsoft compiler? If so, I believe you
can get "non-native wchar_t" by passing appropriate compiler flag,
either using the <cxxflags> feature or when configuring a toolset.

Implementing a generic "feature" to control this does not seem reasonable,
given that it's limited to a single compiler.

- Volodya

Boost list run by bdawes at, gregod at, cpdaniel at, john at