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 /libstdc++-v3/config | |
parent | c6724c90801c0587d2997bcfa6ffe8c331100386 (diff) | |
download | gcc-0ef2dfb001f078a3b1324e05c0063583ddd18a07.tar.gz |
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
Diffstat (limited to 'libstdc++-v3/config')
-rw-r--r-- | libstdc++-v3/config/locale/gnu/monetary_members.cc | 10 |
1 files changed, 9 insertions, 1 deletions
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) { |