This is the mail archive of the gcc-bugs@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]

libio.h not installed


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


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