This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C headers in C++ (was: Builtins and C++ and such)


>>>>> "Benjamin" == Benjamin Kosnik <bkoz@redhat.com> writes:

>> > 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.

OK.

>> 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?

Er, yes, that is what I was talking about.  That patch never made it into
the compiler.  Oops.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]