]> 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>
Sun, 20 Aug 2023 13:01:25 +0000 (15:01 +0200)
* lib/math.in.h (ldexp): Use _GL_CXXALIASWARN1, not _GL_CXXALIASWARN.

ChangeLog
lib/math.in.h

index 46af3793a4e00d8628c1b796d4b16fb02dfc3f67..bad59ebcf664edc1fb7d6d00c4726e2b4232e341 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