gcc-2.95.2

Agung Yogaswara azung@xerxes.intern.trabas.com
Wed Feb 21 22:29:00 GMT 2001


I have gcc-2.95.2 installed with glibc-2.2 updated for Red Hat 7.0 plus
the patch. But I got this error when compiling a program:

In file included from
/usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/../../../../include/g++-3/iostream.h:31,
                 from
/usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/../../../../include/g++-3/iostream:6,
                 from ../include/JTC/Types.h:58,
                 from Cond.cpp:11:
/usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/../../../../include/g++-3/streambuf.h: In
method `struct streampos streambuf::pubseekoff(long long int,
ios::seek_dir, int = 3)':
/usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/../../../../include/g++-3/streambuf.h:362: conversion
from `__off64_t' to non-scalar type `streampos' requested
/usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/../../../../include/g++-3/streambuf.h: In
method `struct streampos streambuf::pubseekpos(_G_fpos64_t, int = 3)':
/usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/../../../../include/g++-3/streambuf.h:364: `struct
streampos' used where a `long long int' was expected

In file included from Cond.cpp:28:
/usr/include/sys/time.h: At top level:
/usr/include/sys/time.h:69: two or more data types in declaration of
`__tz'


Any ideas?

Thanks



More information about the Gcc-help mailing list