From: Paul Eggert Date: Sat, 20 Feb 2016 01:07:48 +0000 (-0800) Subject: signbit: port to C++ with GCC 6 X-Git-Tag: v1.0~6804 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=516dc7d860e80c6be4ce1f884c5db5df75803e45;p=gnulib.git signbit: port to C++ with GCC 6 * lib/math.in.h (signbit) [__cplusplus]: Do not replace with GCC builtin. Reported by Orion Poplawski in: http://lists.gnu.org/archive/html/bug-gnulib/2016-02/msg00005.html --- diff --git a/ChangeLog b/ChangeLog index 2692bd3dc7..6cadc2dda0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2016-02-19 Paul Eggert + signbit: port to C++ with GCC 6 + * lib/math.in.h (signbit) [__cplusplus]: + Do not replace with GCC builtin. Reported by Orion Poplawski in: + http://lists.gnu.org/archive/html/bug-gnulib/2016-02/msg00005.html + * lib/regex_internal.h (IDX_MAX) [_REGEX_LARGE_OFFSETS]: Now SSIZE_MAX. regex: make it closer to libc diff --git a/lib/math.in.h b/lib/math.in.h index 736d532589..afb080c252 100644 --- a/lib/math.in.h +++ b/lib/math.in.h @@ -2205,7 +2205,7 @@ _GL_WARN_REAL_FLOATING_DECL (isnan); #if @GNULIB_SIGNBIT@ -# if @REPLACE_SIGNBIT_USING_GCC@ +# if @REPLACE_SIGNBIT_USING_GCC@ && !defined __cplusplus # undef signbit /* GCC 4.0 and newer provides three built-ins for signbit. */ # define signbit(x) \