aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2017-08-14 17:51:51 -0300
committerGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2017-08-18 12:19:28 -0300
commit6913ad65e00bb32417ad39c41d292b976171e27e (patch)
treecba357292847805be3e6220523fbaa7ac50672ba /ChangeLog
parent47a67213a9f51c5f8816d240500b10db605d8b77 (diff)
downloadglibc-6913ad65e00bb32417ad39c41d292b976171e27e.zip
glibc-6913ad65e00bb32417ad39c41d292b976171e27e.tar.gz
glibc-6913ad65e00bb32417ad39c41d292b976171e27e.tar.bz2
Do not use generic selection in C++ mode
The logic to protect the use of generic selection (_Generic) does not check for C or C++ mode, however, generic selection is a C-only feature. Tested for powerpc64le. * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if in C++ mode.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2050a1c..7ba3baf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
+ * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
+ in C++ mode.
+
+2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
+
[BZ #21930]
* math/math.h (isinf): Check if in C or C++ mode before using
__builtin_types_compatible_p, since this is a C mode feature.