This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/2989: ambiguous overload of strcpy when including iostream
- To: bkoz at gcc dot gnu dot org, dmuell at gmx dot net, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org
- Subject: Re: libstdc++/2989: ambiguous overload of strcpy when including iostream
- From: bkoz at gcc dot gnu dot org
- Date: 8 Jun 2001 23:07:51 -0000
Synopsis: ambiguous overload of strcpy when including iostream
State-Changed-From-To: analyzed->feedback
State-Changed-By: bkoz
State-Changed-When: Fri Jun 8 16:07:50 2001
State-Changed-Why:
Should be fixed with:
2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2989
libstdc++/2992
* include/std/*: Add copyright notice.
* include/c_std/bits/*: Use using statements instead of extern "C".
* include/c_std/bits/std_cmath.h: Don't overload double versions
of math functions with __buitin versions, use global version to
prevent ambiguities. Remove define hacks.
* include/c_std/bits/std_cwchar.h: Using declarations for "C"
functions that have changed signatures and std::
declarations. Remove define hacks.
* include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
__builtins in std::. Remove define hacks.
* testsuite/17_intro/headers_c.cc: Add tests.
* testsuite/17_intro/headers_c++.cc: Add test.
I'm checking this into the branch right now.
thanks!
-benjamin
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2989&database=gcc