diff options
| author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-11-08 17:05:40 +0000 |
|---|---|---|
| committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-11-08 17:05:40 +0000 |
| commit | 0ef2dfb001f078a3b1324e05c0063583ddd18a07 (patch) | |
| tree | 650c67401019c459067061844d666b8f56fceb01 | |
| parent | c6724c90801c0587d2997bcfa6ffe8c331100386 (diff) | |
| download | ppe42-gcc-0ef2dfb001f078a3b1324e05c0063583ddd18a07.tar.gz ppe42-gcc-0ef2dfb001f078a3b1324e05c0063583ddd18a07.zip | |
2002-11-08 Paolo Carlini <pcarlini@unitus.it>
* config/locale/gnu/monetary_members.cc
(moneypunct<wchar_t, true>::_M_initialize_moneypunct(__c_locale,
const char*),
moneypunct<wchar_t, false>::_M_initialize_moneypunct(__c_locale,
const char*)): Tweak parameters for glibc2.3 systems, thus
avoiding unused parameter warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58928 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | libstdc++-v3/ChangeLog | 9 | ||||
| -rw-r--r-- | libstdc++-v3/config/locale/gnu/monetary_members.cc | 10 |
2 files changed, 18 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index b6b5d906079..4d803091c4b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,12 @@ +2002-11-08 Paolo Carlini <pcarlini@unitus.it> + + * config/locale/gnu/monetary_members.cc + (moneypunct<wchar_t, true>::_M_initialize_moneypunct(__c_locale, + const char*), + moneypunct<wchar_t, false>::_M_initialize_moneypunct(__c_locale, + const char*)): Tweak parameters for glibc2.3 systems, thus + avoiding unused parameter warnings. + 2002-11-05 Jonathan Wakely <cow@compsoc.man.ac.uk> * include/std/std_sstream.h diff --git a/libstdc++-v3/config/locale/gnu/monetary_members.cc b/libstdc++-v3/config/locale/gnu/monetary_members.cc index 0386ab6dc54..17d4d421767 100644 --- a/libstdc++-v3/config/locale/gnu/monetary_members.cc +++ b/libstdc++-v3/config/locale/gnu/monetary_members.cc @@ -317,7 +317,11 @@ namespace std template<> void moneypunct<wchar_t, true>::_M_initialize_moneypunct(__c_locale __cloc, +#if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) + const char*) +#else const char* __name) +#endif { if (!__cloc) { @@ -413,8 +417,12 @@ namespace std template<> void - moneypunct<wchar_t, false>::_M_initialize_moneypunct(__c_locale __cloc, + moneypunct<wchar_t, false>::_M_initialize_moneypunct(__c_locale __cloc, +#if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) + const char*) +#else const char* __name) +#endif { if (!__cloc) { |

