https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69893
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Tue Feb 23 19:49:31 2016 New Revision: 233644 URL: https://gcc.gnu.org/viewcvs?rev=233644&root=gcc&view=rev Log: libstdc++/69893 make <tr1/cmath> work with C++11 PR libstdc++/69893 * include/tr1/cmath (acosh, asinh, atanh, cbrt, copysign, erf, erfc, exp2, expm1, fdim, fma, fmax, fmin, hypot, ilogb, lgamma, llrint, llround, log1p, log2, logb, lrint, lround, nan, nearbyint, nextafter, nexttoward, remainder, remquo, rint, round, scalbln, scalbn, tgamma, trunc) [__cplusplus >= 201103L]: Import from namespace std. (fabs) [__cplusplus < 201103L]: Import from namespace std. * include/tr1/complex (acosh, asinh, atanh) [__cplusplus >= 201103L]: Likewise. * testsuite/tr1/headers/c++200x/complex.cc: Add std::fabs to global namespace before including TR1 headers. * testsuite/tr1/headers/c++200x/math.cc: New test. Added: trunk/libstdc++-v3/testsuite/tr1/headers/c++200x/math.cc - copied, changed from r233640, trunk/libstdc++-v3/testsuite/tr1/headers/c++200x/complex.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/tr1/cmath trunk/libstdc++-v3/include/tr1/complex trunk/libstdc++-v3/testsuite/tr1/headers/c++200x/complex.cc