diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d7aaa08956d..49ff64a6229 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2006-02-04 Paolo Carlini + + * testsuite/tr1/8_c_compatibility/cwchar/functions.cc: Fix. + 2006-02-04 Paolo Carlini * testsuite/27_io/basic_stringbuf/in_avail/char/21955.cc: Avoid diff --git a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cwchar/functions.cc b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cwchar/functions.cc index 577868a1504..d07607a2dcf 100644 --- a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cwchar/functions.cc +++ b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cwchar/functions.cc @@ -28,7 +28,7 @@ #if _GLIBCXX_USE_WCHAR_T -void test01() +void test01(int dummy, ...) { #if _GLIBCXX_USE_C99_WCHAR_TR1 @@ -37,7 +37,8 @@ void test01() const wchar_t* s = 0; wchar_t** endptr = 0; FILE* stream = 0; - std::va_list arg = 0; + std::va_list arg; + va_start(arg, dummy); float fret; long double ldret;