diff options
author | Paolo Carlini <pcarlini@suse.de> | 2004-01-23 16:51:24 +0000 |
---|---|---|
committer | Paolo Carlini <pcarlini@suse.de> | 2004-01-23 16:51:24 +0000 |
commit | 7bee87c032f26b588778e281904d6d2ce7853f17 (patch) | |
tree | 7035da4cc8d0d57e30aa2c24fe5f71c18f7d40cd /libstdc++-v3/include/bits/locale_facets.h | |
parent | 626cbff6c404951900499f8d6969d042a1b46e95 (diff) |
2004-01-23 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/13831
* include/bits/fstream.tcc (underflow): Remove unused
variable.
* include/bits/streambuf_iterator.h (equal): Ditto.
* include/bits/locale_facets.h (_M_convert_from_char):
Ditto.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@76433 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/bits/locale_facets.h')
-rw-r--r-- | libstdc++-v3/include/bits/locale_facets.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libstdc++-v3/include/bits/locale_facets.h b/libstdc++-v3/include/bits/locale_facets.h index 05003ed28d5..6f212fe08ae 100644 --- a/libstdc++-v3/include/bits/locale_facets.h +++ b/libstdc++-v3/include/bits/locale_facets.h @@ -4384,14 +4384,15 @@ namespace std // Returns a locale and codeset-converted string, given a char* message. string_type - _M_convert_from_char(char* __msg) const + _M_convert_from_char(char*) const { +#if 0 // Length of message string without terminating null. size_t __len = char_traits<char>::length(__msg) - 1; // "everybody can easily convert the string using // mbsrtowcs/wcsrtombs or with iconv()" -#if 0 + // Convert char* to _CharT in locale used to open catalog. // XXX need additional template parameter on messages class for this.. // typedef typename codecvt<char, _CharT, _StateT> __codecvt_type; |