This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Docs for strings of arbitrary character types
On Wed, Jul 13, 2005 at 04:21:47PM +0200, Paolo Carlini wrote:
> Jonathan Wakely wrote:
>
> >I'm updating the HTML docs and will document the process of specializing
> >_Char_traits (and possibly __gnu_cxx::char_traits) to get it right.
> >
> >
> Forgot a weird issue, that maybe is worth documenting (a note?): an user
> of the library, privately told me that at least some versions of glibc
> don't play well with -fshort-wchar: this means that unfortunately the
> char_traits.h implementation of the wchar_t specialization is not
> guaranteed to work when that compiler option is in effect.
>
> Paolo.
>
> P.S. For your curiosity: rewriting the wchar_t specializations by open
> coding the various functions, allowed that user to get a clean testsuite
> and quickly port a windoze application.
Interesting ... I'l try to include a note to that effect.
Thanks,
jon
--
"On two occasions I have been asked [by members of Parliament!],
'Pray, Mr. Babbage, if you put into the machine wrong figures,
will the right answers come out?'
I am not able rightly to apprehend the kind of confusion of ideas
that could provoke such a question."
- Charles Babbage