This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Builtins and C++ and such
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: Roger Sayle <roger at eyesopen dot com>, Mark Mitchell <mark at codesourcery dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Wed, 20 Mar 2002 11:02:21 -0800 (PST)
- Subject: Re: Builtins and C++ and such
> > 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