]> Savannah Git Hosting - gnulib.git/commitdiff
ldexp: Fix compilation error in C++ mode.
authorBruno Haible <bruno@clisp.org>
Sun, 20 Aug 2023 13:01:25 +0000 (15:01 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 30 Aug 2023 10:17:06 +0000 (12:17 +0200)
* lib/math.in.h (ldexp): Use _GL_CXXALIASWARN1, not _GL_CXXALIASWARN.

ChangeLog
lib/math.in.h

index 4e8dd41d2c22ffecc3d7cef11663aae3a4c4b4e1..1dafc502b0862148674ec6bbeeec26793869059d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-08-20  Bruno Haible  <bruno@clisp.org>
+
+       ldexp: Fix compilation error in C++ mode.
+       * lib/math.in.h (ldexp): Use _GL_CXXALIASWARN1, not _GL_CXXALIASWARN.
+
 2023-08-19  Bruno Haible  <bruno@clisp.org>
 
        ldexp: Work around OpenBSD/mips64 bug.
index 8606e074546c8c089315fea89640812111b88a44..e559608a0eaa19cd7c62df86da95c146af4dbed0 100644 (file)
@@ -1440,7 +1440,7 @@ _GL_CXXALIAS_RPL (ldexp, double, (double x, int exp));
 _GL_CXXALIAS_SYS (ldexp, double, (double x, int exp));
 # endif
 # if __GLIBC__ >= 2
-_GL_CXXALIASWARN (ldexp);
+_GL_CXXALIASWARN1 (ldexp, double, (double x, int exp));
 # endif
 #elif defined GNULIB_POSIXCHECK
 # undef ldexp