This is the mail archive of the libstdc++@gcc.gnu.org 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]
Other format: [Raw text]

Re: Docs for strings of arbitrary character types


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.


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