wstring commented out in egcs-1.1.2 C++ library

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Tue Feb 8 01:49:00 GMT 2000


> But I'm curious about the lack of responses to the questions...?  And
> why the patches hasn't been applied?  Doesn't anyone currently
> maintain the old libg++?  Is all effort put into libstdc++-v3?  Are
> the patches applied in gcc-2.95?

I'm not sure I can answer these questions. The change seems to
originate from

1999-01-28  Baron Roberts  <baron@sgi.com>

	* string: Uncomment wstring declaration.

so maybe he can comment.

Did you actually try to uncomment the declaration? From looking at the
code, I see potential problems with string_char_traits<wchar_t>, which
is ifdef-ed out. If it where activated, you'd need to have the
following from the C library:

<wctype.h>
wmemcmp
wcslen
wmemcpy
wmemset

I can imagine that this is not available on all platforms supported by
g++.

Regards,
Martin



More information about the Gcc mailing list