Skip to content
Snippets Groups Projects
Commit d7817826 authored by paolo's avatar paolo
Browse files

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.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85862 138bc75d-0d04-0410-961f-82ee72b054a4
parent e4d6aaad
No related merge requests found
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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment