This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/55682] erf, erfc placed in global namespace by <cmath> without --std=c++11


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]