diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-10-22 17:33:26 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-10-22 17:33:26 +0200 |
commit | e37208ce86916af9510ffb9ce7b3c187986f07de (patch) | |
tree | 123e9b737d4d4db7659fd97b42b932c4591a7a61 /ChangeLog | |
parent | 7a8330c01bea0cb98654ca25e3ca5db7d48694b3 (diff) | |
download | glibc-e37208ce86916af9510ffb9ce7b3c187986f07de.tar glibc-e37208ce86916af9510ffb9ce7b3c187986f07de.tar.gz glibc-e37208ce86916af9510ffb9ce7b3c187986f07de.tar.bz2 glibc-e37208ce86916af9510ffb9ce7b3c187986f07de.zip |
math.h: Wrap C++ bits in extern "C++"
It is still common to include system header files in an extern "C"
block. This means that exiting <math.h>'s own extern "C" block
is not sufficient to get back to C++ mode. Use an extern "C++"
wrapper instead.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2016-10-22 Florian Weimer <fweimer@redhat.com> + + * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern + "C++", to override a potential extern "C" directive around the + header file inclusion. + 2016-10-21 Joseph Myers <joseph@codesourcery.com> * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable. |