Boost logo

Boost :

From: Alexei Alexandrov (alexei1.alexandrov2_at_[hidden])
Date: 2006-02-12 08:16:29


Hi,

I'm trying to get boost working for x86_64 and Itanium on Windows. The result environment combination is rather strange: Platform SDK contains old Dinkumware STL and new compiler (14.0). So, the biggest problems is that I have to compile it without native wchar_t support. And lexical_cast is one of places where a problem exists:

#if defined(BOOST_NO_STRINGSTREAM) || \
    defined(BOOST_NO_STD_WSTRING) || \
    defined(BOOST_NO_STD_LOCALE) || \
    defined(BOOST_NO_INTRINSIC_WCHAR_T)
#define DISABLE_WIDE_CHAR_SUPPORT
#endif

You can see that wchar_t support is disabled compeletely in lexical_cast if wchar_t is not available as a native type. Why is it so? It seems that I got it working if I change it to

#if defined(BOOST_NO_STRINGSTREAM) || \
    defined(BOOST_NO_STD_WSTRING) || \
    defined(BOOST_NO_STD_LOCALE)
#define DISABLE_WIDE_CHAR_SUPPORT
#endif

But probably there are some caveats here. What are they?

--
Alexei Alexandrov


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