On Thu, Nov 08, 2007 at 02:01:05PM +0100, Abdelrazak Younes wrote: > Hum, there is even more than I though; in strfwd.h: > > #ifdef USE_WCHAR_T > > // Prefer this if possible because GNU libstdc++ has usable > // std::ctype<wchar_t> locale facets but not > // std::ctype<boost::uint32_t>. gcc older than 3.4 is also missing > // usable std::char_traits<boost::uint32_t>. > namespace lyx { typedef wchar_t char_type; } > > #else > > #include <boost/cstdint.hpp> > namespace lyx { typedef boost::uint32_t char_type; } > > #endif > > If I am not mistaken, this means that wchar_t is never used for any > platform. I guess it has never been used actually, even in 1.5.x...
I think it means wchar_t is used whenever USE_WCHAR_T is defined. Remember that the first thing included in every compilation unit is <config.h> Andre'