]> 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 09:56:14 +0000 (11:56 +0200)
* lib/math.in.h (ldexp): Use _GL_CXXALIASWARN1, not _GL_CXXALIASWARN.

ChangeLog
lib/math.in.h

index bbfa24eff8420e50b9d941c8839548ba15e16e87..b676631ea25c6b3aab46fcaf5fd1de5fcaf6f045 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 96abf10b81f4602340d25f629c28fef0e4a88e20..117bc993b55adc29d8ea22a4a683b45ac6c00c0b 100644 (file)
@@ -1448,7 +1448,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