diff options
author | Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> | 2017-08-14 17:51:51 -0300 |
---|---|---|
committer | Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> | 2017-08-18 12:19:28 -0300 |
commit | 6913ad65e00bb32417ad39c41d292b976171e27e (patch) | |
tree | cba357292847805be3e6220523fbaa7ac50672ba /ChangeLog | |
parent | 47a67213a9f51c5f8816d240500b10db605d8b77 (diff) | |
download | glibc-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-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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. |