This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: [RFA:] libstdc++-v3 patches to bootstrap on gnulibc1 andglibc2.0
- To: Ulrich Drepper <drepper at cygnus dot com>
- Subject: Re: [RFA:] libstdc++-v3 patches to bootstrap on gnulibc1 andglibc2.0
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- Date: Wed, 22 Nov 2000 03:20:34 -0500 (EST)
- cc: Benjamin Kosnik <bkoz at redhat dot com>, gcc-patches at gcc dot gnu dot org, libstdc++ at sources dot redhat dot com
On 21 Nov 2000, Ulrich Drepper wrote:
> Hans-Peter Nilsson <hp@bitrange.com> writes:
> > Right, I could have been clearer and shouldn't have generalized. There
> > was declaration mismatch in that the system definition for __P in libc
> > 5.3.12 and glibc 2.0 lacked __THROW and so the declarations for
> > __underflow and __overflow which for some reason were in
> > /usr/include/stdio.h for both versions were then naked and throw-less,
> > mismatching the V3/libio.h ones. Producing this compile-error:
>
> You mean you are using the /usr/include/stdio.h and libio.h files on
> libc5 and glibc 2.0 systems? You cannot do this. In fact, only with
> glibc 2.2 is it safe to use the system headers and the libio in the
> libc.
It's not pretty. But safe or not, that's what's there, so that's what
will be used. Or can the libio.h in libstdc++-v3/libio be ignored in some
productive way?
brgds, H-P