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]
Other format: [Raw text]

error while building gcc 2.95.2 by gcc 3.2


Hi,

While I am now working on the comparison between gcc 2.95.2 and
gcc 3.2 through the testsuite shipped with gcc 3.0.2, I have some
problems with gcc 2.95.2's installation.

The error messages in building gcc 2.95.2 are as follows:

../../../gcc-2.95.2/libio/indstream.cc: In method `struct streampos 
indirectbuf::seekoff(long long int, ios::seek_dir, int = 3)':
../../../gcc-2.95.2/libio/indstream.cc:82: `struct streampos' used where a 
`int'was expected
../../../gcc-2.95.2/libio/indstream.cc:85: `struct streampos' used where a 
`int'was expected
../../../gcc-2.95.2/libio/indstream.cc:87: `struct streampos' used where a 
`int'was expected
../../../gcc-2.95.2/libio/indstream.cc:89: conversion from `int' to 
non-scalar type `streampos' requested
../../../gcc-2.95.2/libio/indstream.cc: In method `struct streampos 
indirectbuf::seekpos(_G_fpos64_t, int = 3)':
../../../gcc-2.95.2/libio/indstream.cc:99: `struct streampos' used where a 
`int'was expected
../../../gcc-2.95.2/libio/indstream.cc:102: `struct streampos' used where 
a `int' was expected
../../../gcc-2.95.2/libio/indstream.cc:104: `struct streampos' used where 
a `int' was expected
../../../gcc-2.95.2/libio/indstream.cc:106: conversion from `int' to 
non-scalar type `streampos' requested
make[1]: *** [indstream.o] Error 1
make[1]: Leaving directory 
`/root/software/gcc-2.95.2/build/i686-pc-linux-gnu/libio'
make: *** [all-target-libio] Error 2


Many thanks to your attentions!

Chao



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