mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-14 10:30:56 +08:00
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
This commit is contained in:
parent
e86ae7bab3
commit
ea1c2a95ba
@ -1,3 +1,9 @@
|
||||
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>
|
||||
|
||||
* testsuite/21_strings/basic_string/literals/types.cc
|
||||
|
@ -75,6 +75,6 @@ namespace std _GLIBCXX_VISIBILITY(default)
|
||||
// and std::hash<long double>::operator()
|
||||
// are the same, no need to duplicate them.
|
||||
extern "C" void _ZNKSt4hashIeEclEe (void)
|
||||
__attribute__((alias ("_ZNKSt3tr14hashIeEclEe")));
|
||||
_GLIBCXX_PURE __attribute__((alias ("_ZNKSt3tr14hashIeEclEe")));
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user