This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: New libstdc++v3 failure during bootstrap
- To: Robert Lipe <robertl at sco dot com>
- Subject: Re: New libstdc++v3 failure during bootstrap
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Sat, 27 Jan 2001 11:12:59 -0800 (PST)
- cc: gcc at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
looks like _GLIBCPP_HAVE_MBSTATE_T is not being set correctly.
If you look in your build dir/include/bits/c++config look and see what it
says for this macro.
that gets set at this point in acinclude.m4:
AC_DEFUN(GLIBCPP_CHECK_WCHAR_T_SUPPORT, [
dnl Test wchar.h for mbstate_t, which is needed for char_traits and
dnl others even if wchar_t support is not on.
AC_MSG_CHECKING([for mbstate_t])
AC_TRY_COMPILE([#include <wchar.h>],
[mbstate_t teststate;],
have_mbstate_t=yes, have_mbstate_t=no)
AC_MSG_RESULT($have_mbstate_t)
if test x"$have_mbstate_t" = xyes; then
AC_DEFINE(HAVE_MBSTATE_T)
fi
-benjamin
> /play/egcs/libstdc++-v3/include/c_std/bits/std_cwchar.h:63: `mbstate_t' not
> declared
> In file included from /play/egcs/libstdc++-v3/include/bits/std_complex.h:42,
> from /play/egcs/libstdc++-v3/src/complex_io.cc:30:
> /play/egcs/libstdc++-v3/include/bits/std_iosfwd.h:112: `mbstate_t' was not
> declared in this scope