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

gcc 2.95.2 on Redhat 7.0 compiling probs


Hello,

I'm trying to complie gcc 2.95.2 on a Redhat 7.0 system (with installed
"gcc-2.96" and glibc 2.1.92).

gcc configures for a i686-pc-linux-gnu host, but an error occures dring
compile (make bootstrap):

make[2]: Entering directory  »/usr/temp/gcc-2.95.2/i686-pc-linux-gnu/libio«
/usr/temp/gcc-2.95.2/gcc/xgcc -B/usr/temp/gcc-2.95.2/gcc/ -B/public/packages/programming/gcc-2.95.2/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -I. -I. -nostdinc++ -D_IO_MTSAFE_IO -fpic indstream.cc -o pic/indstream.o
indstream.cc: In method `struct streampos indirectbuf::seekoff(long long int, ios::seek_dir, int = 3)':
indstream.cc:82: `struct streampos' used where a `int' was expected
indstream.cc:85: `struct streampos' used where a `int' was expected
indstream.cc:87: `struct streampos' used where a `int' was expected
indstream.cc:89: conversion from `int' to non-scalar type `streampos' requested
indstream.cc: In method `struct streampos indirectbuf::seekpos(_G_fpos64_t, int = 3)':
indstream.cc:99: `struct streampos' used where a `int' was expected
indstream.cc:102: `struct streampos' used where a `int' was expected
indstream.cc:104: `struct streampos' used where a `int' was expected
indstream.cc:106: conversion from `int' to non-scalar type `streampos' requested
make[2]: *** [indstream.o] Error 1

Can some give me a hint what's to do?

-- 
Alexander.Zimmermann@fmi.uni-passau.de / The more you complain, the
http://www.fmi.uni-passau.de/~zimmerma/ longer God lets you live. 
for PGP public key finger            / 
zimmerma@yoda.fmi.uni-passau.de     / 


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