libstdc++/2989: ambiguous overload of strcpy when including iostream
bkoz@gcc.gnu.org
bkoz@gcc.gnu.org
Fri Jun 8 16:07:00 GMT 2001
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
More information about the Gcc-bugs
mailing list