]> Savannah Git Hosting - gnulib.git/commit
isfinite, isinf, isnan, signbit: Fix error in C++ mode on mingw.
authorBruno Haible <bruno@clisp.org>
Wed, 28 Aug 2019 16:03:43 +0000 (18:03 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 28 Aug 2019 16:03:43 +0000 (18:03 +0200)
commit8e03578873a3cfda43eb4dbcac20c8fc6aed84f7
treec12e1394d1f2e8a586e22e571c537726a4851a9e
parent38ab8ed6c3aa72e099b76f768c92d04ed671b3e9
isfinite, isinf, isnan, signbit: Fix error in C++ mode on mingw.

Reported by Martin Storsjö <martin@martin.st> in
<https://lists.gnu.org/archive/html/bug-gnulib/2019-08/msg00075.html>.

* lib/math.in.h (_GL_MATH_CXX_REAL_FLOATING_DECL_2): Add more arguments.
(isfinite, isinf, isnan, signbit): On platforms that use C++ include
files from GCC 6 or newer, use an override through '#define', because
the inline definitions in the platform's <cmath> cannot be overridden
in another way.
ChangeLog
lib/math.in.h