diff options
author | Paolo Carlini <pcarlini@unitus.it> | 2003-01-06 19:48:41 +0100 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2003-01-06 18:48:41 +0000 |
commit | 80c4581d61f758977c799cc323949bfacf85c223 (patch) | |
tree | 08b68adcfa5d6f20dfeef6cbfa556639b5dc57cc | |
parent | 62b8a44e2617685f1094b108869f2c71f38f33af (diff) | |
download | gcc-80c4581d61f758977c799cc323949bfacf85c223.zip gcc-80c4581d61f758977c799cc323949bfacf85c223.tar.gz gcc-80c4581d61f758977c799cc323949bfacf85c223.tar.bz2 |
2003-01-06 Paolo Carlini <pcarlini@unitus.it>
* src/codecvt.cc
(codecvt<char, char, mbstate_t>::do_in, do_out):
Tweak parameters to avoid unused parameter warnings.
From-SVN: r60946
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/src/codecvt.cc | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4f9d78d..9c2874b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,11 @@ 2003-01-06 Paolo Carlini <pcarlini@unitus.it> + * src/codecvt.cc + (codecvt<char, char, mbstate_t>::do_in, do_out): + Tweak parameters to avoid unused parameter warnings. + +2003-01-06 Paolo Carlini <pcarlini@unitus.it> + PR libstdc++/9151 * include/bits/locale_facets.cc (num_put::_M_convert_float): Limit __prec to digits10 + 2, not digits10 + 1, taking into diff --git a/libstdc++-v3/src/codecvt.cc b/libstdc++-v3/src/codecvt.cc index b6ccc43..a436dc6 100644 --- a/libstdc++-v3/src/codecvt.cc +++ b/libstdc++-v3/src/codecvt.cc @@ -60,8 +60,8 @@ namespace std codecvt_base::result codecvt<char, char, mbstate_t>:: do_out(state_type&, const intern_type* __from, - const intern_type* __from_end, const intern_type*& __from_next, - extern_type* __to, extern_type* __to_end, + const intern_type*, const intern_type*& __from_next, + extern_type* __to, extern_type*, extern_type*& __to_next) const { // _GLIBCPP_RESOLVE_LIB_DEFECTS @@ -84,8 +84,8 @@ namespace std codecvt_base::result codecvt<char, char, mbstate_t>:: do_in(state_type&, const extern_type* __from, - const extern_type* __from_end, const extern_type*& __from_next, - intern_type* __to, intern_type* __to_end, + const extern_type*, const extern_type*& __from_next, + intern_type* __to, intern_type*, intern_type*& __to_next) const { // _GLIBCPP_RESOLVE_LIB_DEFECTS |