monetary_members.cc (moneypunct<wchar_t, [...]): Tweak parameters for glibc2.3 systems, thus avoiding unused parameter warnings.
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. From-SVN: r58928
This commit is contained in:
parent
8dd3ca88e5
commit
bce582242d
@ -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
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user