http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55682
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-12-14 10:44:25 UTC --- (In reply to comment #3) > Oh, it just struck me as funny that cmath imports std::exp and friends, but > not > std::erf. std::exp is in C++98, std::erf isn't. As I said on the list, I assumed you were using -std=c++11 when you said it wasn't in <cmath>