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 + + * config/locale/gnu/monetary_members.cc + (moneypunct::_M_initialize_moneypunct(__c_locale, + const char*), + moneypunct::_M_initialize_moneypunct(__c_locale, + const char*)): Tweak parameters for glibc2.3 systems, thus + avoiding unused parameter warnings. + 2002-11-05 Jonathan Wakely * 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::_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::_M_initialize_moneypunct(__c_locale __cloc, + moneypunct::_M_initialize_moneypunct(__c_locale __cloc, +#if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) + const char*) +#else const char* __name) +#endif { if (!__cloc) {