Commit ea1c2a95 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): Add
	_GLIBCXX_PURE to the alias declaration.

From-SVN: r269034
parent e86ae7ba
2019-02-20 Jakub Jelinek <jakub@redhat.com>
PR libstdc++/89402
* src/c++98/compatibility-ldbl.cc (_ZNKSt4hashIeEclEe): Add
_GLIBCXX_PURE to the alias declaration.
2019-02-19 Jonathan Wakely <jwakely@redhat.com> 2019-02-19 Jonathan Wakely <jwakely@redhat.com>
* testsuite/21_strings/basic_string/literals/types.cc * testsuite/21_strings/basic_string/literals/types.cc
......
...@@ -75,6 +75,6 @@ namespace std _GLIBCXX_VISIBILITY(default) ...@@ -75,6 +75,6 @@ namespace std _GLIBCXX_VISIBILITY(default)
// and std::hash<long double>::operator() // and std::hash<long double>::operator()
// are the same, no need to duplicate them. // are the same, no need to duplicate them.
extern "C" void _ZNKSt4hashIeEclEe (void) extern "C" void _ZNKSt4hashIeEclEe (void)
__attribute__((alias ("_ZNKSt3tr14hashIeEclEe"))); _GLIBCXX_PURE __attribute__((alias ("_ZNKSt3tr14hashIeEclEe")));
#endif #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