This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: HJ's patch to libio works on Red Hat 4.2/libc 5.3.12
- To: hjl at lucon dot org (H.J. Lu)
- Subject: Re: HJ's patch to libio works on Red Hat 4.2/libc 5.3.12
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Mon, 13 Oct 1997 22:14:20 -0500
- cc: jbuck at synopsys dot com (Joe Buck), egcs at cygnus dot com
hjl@lucon.org (H.J. Lu) writes:
>
> The example works fine on my machine. From the gdb back strace, it
> looks like there is some mismatch since the code should not even
> be reached.
>
> If someone can send the complete gdb step through of
> istream& istream::operator>>(double& x), I will take
> another look.
>
Think I know what the problem is now. The following files are not
installed by default now in $prefix/include/g++:
libio.h
libioP.h
iostreamP.h
iostdio.h
iolibio.h
floatio.h
I had these files leftover from Sept 24 snapshot, and weren't overwritten
during subsequent snapshot installs. Once I installed these by hand from
current egcs/libio, my simple testcase worked as expected. The reason
that the libio testsuite worked is because it uses -nostdinc++ and then
explicitly includes the libio source in the include path, hence not
looking at the bad copy in the installation tree.
Regards,
Mumit