https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14608
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org --- Comment #13 from Jonathan Wakely <redi at gcc dot gnu.org> --- <iostream.h> is long gone, but the problem still exists: #include <math.h> #include <cmath> bool foo(double d) { return isfinite(d); } On most targets this fails with any -std mode, because <cmath> does #undef isfinite but then only defines std::isfinite not ::isfinite. I have a patch to fix it.