2004-08-12 Jan Beulich <jbeulich@novell.com>
* config/locale/generic/ctype_members.cc (ctype<wchar_t>::_M_convert_to_wmask): Default case must not use 0 as initializer for return value, as that is invalid for enumerated types. * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::_M_convert_to_wmask): Likewise. From-SVN: r85862
This commit is contained in:
parent
e85a53178e
commit
03a2b8100f
3 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2004-08-12 Jan Beulich <jbeulich@novell.com>
|
||||||
|
|
||||||
|
* config/locale/generic/ctype_members.cc
|
||||||
|
(ctype<wchar_t>::_M_convert_to_wmask): Default case must not use 0 as
|
||||||
|
initializer for return value, as that is invalid for enumerated types.
|
||||||
|
* config/locale/gnu/ctype_members.cc
|
||||||
|
(ctype<wchar_t>::_M_convert_to_wmask): Likewise.
|
||||||
|
|
||||||
2004-08-11 Paolo Carlini <pcarlini@suse.de>
|
2004-08-11 Paolo Carlini <pcarlini@suse.de>
|
||||||
|
|
||||||
* testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Fix typo.
|
* testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Fix typo.
|
||||||
|
|
|
@ -91,7 +91,7 @@ namespace std
|
||||||
__ret = wctype("graph");
|
__ret = wctype("graph");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
__ret = 0;
|
__ret = __wmask_type();
|
||||||
}
|
}
|
||||||
return __ret;
|
return __ret;
|
||||||
};
|
};
|
||||||
|
|
|
@ -95,7 +95,7 @@ namespace std
|
||||||
__ret = __wctype_l("graph", _M_c_locale_ctype);
|
__ret = __wctype_l("graph", _M_c_locale_ctype);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
__ret = 0;
|
__ret = __wmask_type();
|
||||||
}
|
}
|
||||||
return __ret;
|
return __ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue