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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
BUILDSTDERR: ../../../../libstdc++-v3/src/c++98/compatibility-ldbl.cc:77:17:
warning: 'void _ZNKSt4hashIeEclEe()' specifies less restrictive attribute than
its target 'std::size_t std::tr1::hash<_Tp>::operator()(_Tp) const [with _Tp =
long double]': 'pure' [-Wmissing-attributes]
BUILDSTDERR:    77 | extern "C" void _ZNKSt4hashIeEclEe (void)
BUILDSTDERR:       |                 ^~~~~~~~~~~~~~~~~~
BUILDSTDERR: In file included from
../../../../libstdc++-v3/src/c++98/compatibility-ldbl.cc:72:
BUILDSTDERR:
../../../../libstdc++-v3/src/c++98/hash-long-double-tr1-aux.cc:35:7: note:
'void _ZNKSt4hashIeEclEe()' target declared here
BUILDSTDERR:    35 |       hash<long double>::operator()(long double __val)
const
BUILDSTDERR:       |       ^~~~~~~~~~~~~~~~~
is what I can see in our ppc64le build log too.

Reply via email to