This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/55682] erf, erfc placed in global namespace by <cmath> without --std=c++11
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 14 Dec 2012 10:44:25 +0000
- Subject: [Bug libstdc++/55682] erf, erfc placed in global namespace by <cmath> without --std=c++11
- Auto-submitted: auto-generated
- References: <bug-55682-4@http.gcc.gnu.org/bugzilla/>
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>