Commit fcb141ac by Jakub Jelinek Committed by Jakub Jelinek

re PR libstdc++/89402 (warning: ‘void _ZNKSt4hashIeEclEe()’ specifies less…

re PR libstdc++/89402 (warning: ‘void _ZNKSt4hashIeEclEe()’ specifies less restrictive attribute than its target)

	PR libstdc++/89402
	* src/c++98/compatibility-ldbl.cc (_ZNKSt4hashIeEclEe): Change return
	type to std::size_t and argument to type to long double.

From-SVN: r269130
parent 16a919a7
2019-02-22 Jakub Jelinek <jakub@redhat.com>
PR libstdc++/89402
* src/c++98/compatibility-ldbl.cc (_ZNKSt4hashIeEclEe): Change return
type to std::size_t and argument to type to long double.
2019-02-22 Eric Botcazou <ebotcazou@adacore.com>
* configure.host (abi_baseline_pair): Adjust for SPARC64/Linux.
......
......@@ -74,7 +74,7 @@ namespace std _GLIBCXX_VISIBILITY(default)
// std::tr1::hash<long double>::operator()
// and std::hash<long double>::operator()
// are the same, no need to duplicate them.
extern "C" void _ZNKSt4hashIeEclEe (void)
extern "C" std::size_t _ZNKSt4hashIeEclEe (long double)
_GLIBCXX_PURE __attribute__((alias ("_ZNKSt3tr14hashIeEclEe")));
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment