
Hi all -
I'm running into problems building the serialization library with gcc
4.1. I tracked it down to a change in libstdc++ for gcc 4.1 from the
gcc 3.x libstdc++.
I'm sure there's a bug, but I'm not sure if it is a boost bug, a
libstdc++ bug, or a gcc 4.1 bug.
boost_1_33_1/boost/config/stdlib/libstdcpp3.hpp says:
#if !defined(_GLIBCPP_USE_WCHAR_T) && !defined(_GLIBCXX_USE_WCHAR_T)
# define BOOST_NO_CWCHAR
# define BOOST_NO_CWCTYPE
# define BOOST_NO_STD_WSTRING
# define BOOST_NO_STD_WSTREAMBUF
#endif
and indeed, with the 4.1 compiler, neither define is defined. For 4.1 in file
/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/include/g++-v4/i686-pc-linux-gnu/c++config.h
I have
/* Defined if vfwscanf exists. */
#define _GLIBCXX_HAVE_VFWSCANF 1
/* Defined if vswscanf exists. */
#define _GLIBCXX_HAVE_VSWSCANF 1
/* Defined if vwscanf exists. */
#define _GLIBCXX_HAVE_VWSCANF 1
/* Define to 1 if you have the