This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Latest snapshot won't build with --enable-libstdcxx-v3


On Wed, 20 Sep 2000, Benjamin Scherrey wrote:
> FYI - Latest CVS source still dies in libstdc++-v3/src/local.cc . I'm stuck until I
> can get 2.96 going with libstdc++v3. Has anyone been successful doing this? I was
> under the impression that this had/has been working.

  I was able to bootstrap the Sept 16 CVS (rh 6.2 on i686); but as you noticed,
it appears to have regressed.  A simple hack if you just want to get it to
bootstrap and probably arent going to use the wide IO facilities is

Index: libstdc++-v3/src/locale.cc
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/src/locale.cc,v
retrieving revision 1.14
diff -c -p -3 -r1.14 locale.cc
*** locale.cc   2000/09/20 08:19:07     1.14
--- locale.cc   2000/09/20 16:28:00
*************** namespace std {
*** 913,919 ****
    bool
    ctype<wchar_t>::
    do_is(mask __m, char_type __c) const
!   { return static_cast<bool>(iswctype(__c, _M_convert_to_wmask(__m))); }

    const wchar_t*
    ctype<wchar_t>::
--- 913,919 ----
    bool
    ctype<wchar_t>::
    do_is(mask __m, char_type __c) const
!   { return static_cast<bool>(iswctype(__c, 0 /* _M_convert_to_wmask(__m) */)); }

    const wchar_t*
    ctype<wchar_t>::         

-- 
Steven King
sxking@uswest.net

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]