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
@ -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>
|
||||
|
||||
* testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Fix typo.
|
||||
|
@ -91,7 +91,7 @@ namespace std
|
||||
__ret = wctype("graph");
|
||||
break;
|
||||
default:
|
||||
__ret = 0;
|
||||
__ret = __wmask_type();
|
||||
}
|
||||
return __ret;
|
||||
};
|
||||
|
@ -95,7 +95,7 @@ namespace std
|
||||
__ret = __wctype_l("graph", _M_c_locale_ctype);
|
||||
break;
|
||||
default:
|
||||
__ret = 0;
|
||||
__ret = __wmask_type();
|
||||
}
|
||||
return __ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user