]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libstdc++/89402 (warning: ‘void _ZNKSt4hashIeEclEe()’ specifies less restrictiv...
authorJakub Jelinek <jakub@redhat.com>
Fri, 22 Feb 2019 19:10:47 +0000 (20:10 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 22 Feb 2019 19:10:47 +0000 (20:10 +0100)
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

libstdc++-v3/ChangeLog
libstdc++-v3/src/c++98/compatibility-ldbl.cc

index f5f6fe56c7564c117b7e9ef7d0cd16486ff134e9..c0ec2896595a5d0e09a34ecd60fbb7c4f02e0da4 100644 (file)
@@ -1,3 +1,9 @@
+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.
index e16b1207a2f33cee5f425a55081f4233ed54bc2d..829d7abbe690c486bb640723ec54ef2853d7beb3 100644 (file)
@@ -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