This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-2.93.08 19990215 sparc-sun-solaris2.5 bootstrap fails (genrecog)
- To: law at cygnus dot com
- Subject: Re: egcs-2.93.08 19990215 sparc-sun-solaris2.5 bootstrap fails (genrecog)
- From: Zack Weinberg <zack at rabi dot columbia dot edu>
- Date: Thu, 18 Feb 1999 22:39:01 -0500
- cc: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, egcs-bugs at egcs dot cygnus dot com, baron at sgi dot com
On Thu, 18 Feb 1999 18:39:20 -0700, Jeffrey A Law wrote:
>
> In message <199902190112.UAA04415@blastula.phys.columbia.edu>you write:
> > It appears to work, now the build breaks in libstdc++:
>[ ... ]
>Yea. Probably a result of this changes:
>
>1999-01-28 Baron Roberts <baron@sgi.com>
>
> * string: Uncomment wstring declaration.
>
> * std/straits.h: Remove #if 0/#endif from around
> struct string_char_traits <wchar_t>.
> #include <cwchar>.
> Add missing definition for wchar_t move method.
> Add empty() method for trait-based empty string return.
>
> * std/bastring.h (c_str): Change return of "" to return of
> traits::empty() call so that proper empty string is returned
> based on the character type (i.e. "" or L"").
This is going to be much harder to fix. We want wide string support
in libstdc++, but the wmem* functions are C9x and I haven't seen them
anywhere except glibc. I don't know from wide strings - anyone know a
decent fallback?
zw