Builtins and C++ and such

Benjamin Kosnik bkoz@redhat.com
Wed Mar 20 11:26:00 GMT 2002


> > Amongst the issues that I hope would be fixed by the solution that
> > we decide upon is the ISO C++ requirement that #include <string.h>
> > defines both "::memcpy" and "std::memcpy" (i.e. in both the std and
> > global namespaces).

I'd like to get this fixed up too. If possible, let's separate this 
discussion from the builtin issue, or start another thread.

> I'm amenable to providing compiler help in implementing the C header
> shadowing stuff, but it should be something that's explicitly requested by
> the library code.  Nathan Myers' original strategy had one or two requested
> extensions that seemed reasonable, though they haven't been implemented
> yet.

Huh. After careful excavating in the libstdc+++ archives.... it looks like
this has or had been implemented:
http://gcc.gnu.org/ml/gcc-patches/2000-01/msg00553.html

Is this what you are talking about? If not, what?

-benjamin



More information about the Gcc mailing list