This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

Re: wstring commented out in egcs-1.1.2 C++ library


> 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


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