diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2016-01-19 21:43:55 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2016-01-19 21:43:55 +0000 |
commit | 96e19adabc801466488253b86ed90cfed0ed5606 (patch) | |
tree | 101a639eab80f3df696c45cd749cb82ecc101833 /gcc | |
parent | af33ba0d93bfaebff31c2cc43b1fc56b618821e7 (diff) | |
download | gcc-96e19adabc801466488253b86ed90cfed0ed5606.zip gcc-96e19adabc801466488253b86ed90cfed0ed5606.tar.gz gcc-96e19adabc801466488253b86ed90cfed0ed5606.tar.bz2 |
Add C++-conforming wrappers for stdlib.h and math.h
PR libstdc++/14608
PR libstdc++/60401
* include/Makefile.am: Use c_compatibility math.h and stdlib.h for
--enable-cheaders=c_global configs.
* include/Makefile.in: Regenerate.
* include/c_compatibility/math.h: Remove obsolete _GLIBCXX_NAMESPACE_C
test and allow inclusion from C files.
* include/c_compatibility/stdlib.h: Likewise. Support freestanding.
(at_quick_exit, quick_exit): Add using directives.
* include/c_global/cmath: Use #include_next for math.h.
* include/c_global/cstdlib: Use #include_next for stdlib.h.
* testsuite/26_numerics/headers/cmath/14608.cc: New.
* testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
Remove xfail for most targets.
* testsuite/26_numerics/headers/cstdlib/60401.cc: New.
From-SVN: r232586
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions