https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116847

--- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> ---
> --- Comment #3 from Rainer Orth <ro at gcc dot gnu.org> ---
> I see similar errors (100 libstdc++ tests FAILing with excess errors) on
> Solaris, both sparc and x86.

The Solaris testsuite failures boil down to just a few issues:

bits/locale_facets_nonio.tcc:1479: warning: converting from
'std::istreambuf_iterator<char, std::char_traits<char> >
(std::__cxx11::time_get<char>::)(std::__cxx11::time_get<char>::iter_type,
std::__cxx11::time_get<char>::iter_type, std::ios_base&,
std::ios_base::iostate&, std::tm*, char, char) const' {aka
'std::istreambuf_iterator<char, std::char_traits<char> >
(std::__cxx11::time_get<char>::)(std::istreambuf_iterator<char,
std::char_traits<char> >, std::istreambuf_iterator<char, std::char_traits<char>
>, std::ios_base&, std::_Ios_Iostate&, std::tm*, char, char) const'} to 'void*'
[-Wpmf-conversions]

bits/stl_tempbuf.h:209: warning: 'std::pair<_Tp*, long int>
std::get_temporary_buffer(ptrdiff_t) [with _Tp = __gnu_test::copy_tracker;
ptrdiff_t = long int]' is deprecated [-Wdeprecated-declarations]

condition_variable:266: warning: 'bool std::uncaught_exception()' is
deprecated: use 'std::uncaught_exceptions()' instead
[-Wdeprecated-declarations]

latch:68: warning: comparison of integer expressions of different signedness:
'const long unsigned int' and 'std::ptrdiff_t' {aka 'long int'}
[-Wsign-compare]

ostream:521: warning: 'bool std::uncaught_exception()' is deprecated: use
'std::uncaught_exceptions()' instead [-Wdeprecated-declarations]

parallel/base.h:157: warning: 'template<class _Arg1, class _Arg2, class
_Result> struct std::binary_function' is deprecated [-Wdeprecated-declarations]

With the exception of the latch one, most of them shouldn't occur since
the code is already wrapped in

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-W..."
[...]
#pragma GCC diagnostic pop

Reply via email to