Koji Yokota wrote:
No, it doesn't compile. It complains that there is no matching function, which probablly means that in boost/boost/format/format_fwd.hpp:

#if !defined(BOOST_NO_STD_WSTRING) && !defined(BOOST_NO_STD_WSTREAMBUF) \
    && !defined(BOOST_FORMAT_IGNORE_STRINGSTREAM)
    typedef basic_format<wchar_t >  wformat;
#endif

one of BOOST_NO_STD_WSTRING, BOOST_NO_STD_WSTREAMBUF or BOOST_FORMAT_IGNORE_STRINGSTREAM is defined.

There seems to be a problem in libstdc++ for FreeBSD to handle wchar_t, which may still exist(?) as shown here:

        http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#3_9

I see that in /usr/local/lib/gcc-4.1.3/include/c++/i386-portbld-freebsd6.2/bits/c++config.h

#define _GLIBCXX_USE_WCHAR_T 1

is defined, but _GLIBCPP_USE_WCHAR_T is not found there (same holds for system gcc3.4).

Koji

Reply via email to