diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-08-21 13:03:29 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-08-21 15:33:11 +0200 |
commit | b5889d25e9bf944a89fdd7bcabf3b6c6f6bb6f7c (patch) | |
tree | 93b8e344470970e6c9431c46cc2d251cd22a0b06 /ChangeLog | |
parent | 41e673c1e771075f413f8e8ecd9e108f5ae096d9 (diff) | |
download | glibc-b5889d25e9bf944a89fdd7bcabf3b6c6f6bb6f7c.tar glibc-b5889d25e9bf944a89fdd7bcabf3b6c6f6bb6f7c.tar.gz glibc-b5889d25e9bf944a89fdd7bcabf3b6c6f6bb6f7c.tar.bz2 glibc-b5889d25e9bf944a89fdd7bcabf3b6c6f6bb6f7c.zip |
assert: Support types without operator== (int) [BZ #21972]
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +2017-08-21 Florian Weimer <fweimer@redhat.com> + + [BZ #21972] + * assert/assert.h (assert): Use static_cast (bool) for C++. + Use the ternary operator in the warning branch for GNU C. + * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++. + (CFLAGS-tst-assert-c++.o): Compile in C++11 mode. + (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode. + (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++. + * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files. + 2017-08-21 H.J. Lu <hongjiu.lu@intel.com> [BZ #18822] |