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: "nico.schloemer at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 14 Dec 2012 10:37:19 +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 #3 from Nico <nico.schloemer at gmail dot com> 2012-12-14 10:37:19 UTC ---
(In reply to comment #2)
> Then what? This is expected and conforming.
Oh, it just struck me as funny that cmath imports std::exp and friends, but not
std::erf. I filed the bug since apparently not only I was confused (cf.
http://gcc.gnu.org/ml/gcc-help/2012-12/msg00043.html).
Anyhow. I suppose libstdc++ is consistent in that cmath doesn't provide more
than what is in the standard.