libio.h not installed

Greg Lindahl lindahl@pbm.com
Fri Aug 21 10:01:00 GMT 1998


I notice that that with the latest snapshot (19980816), libio.h is not
installed, while many other include files such as stream.h are.
This was apparently also the case with 1.0.3a. Well, someone changed
a bunch of these files, so they are now inconsistant with the old
libio.h in RedHat 5.1.

(RH 5.1/alpha, egcs-19980816)

[lindahl@zazo src]$ cat test.c
#include <strstream.h>
[lindahl@zazo src]$ g++ -c test.c
In file included from /usr/local/egcs-19980816/include/g++/strstream.h:33,
                 from test.c:1:
/usr/local/egcs-19980816/include/g++/strfile.h:31: syntax error before `('
/usr/local/egcs-19980816/include/g++/strfile.h:32: syntax error before `('
[...]

I copied $EGCSROOT/libio/libio.h to
/usr/local/egcs-19980816/include/g++/libio.h and this example now
compiles.

I'm claiming that you should have been installing libio.h all along.

-- g



More information about the Gcc-bugs mailing list