HJ's patch to libio works on Red Hat 4.2/libc 5.3.12

Joe Buck jbuck@synopsys.com
Tue Oct 14 12:55:00 GMT 1997


Mumit writes:

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

Thanks for tracking this down, Mumit.

libg++ has suffered from similar problems for many years: failures due
to leftover files from previous versions (e.g. _G_config.h, etc).  Several
items in the g++ FAQ deal with this.

Perhaps "make install" should be fixed to remove everything in
$prefix/include/g++ before installing the new headers (and of course
we should warn folks that this is going to happen).

Joe





More information about the Gcc mailing list