This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Problem in make
- From: Satya <satya at ittc dot ku dot edu>
- To: <gcc at gcc dot gnu dot org>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 30 Oct 2002 13:53:08 -0600 (CST)
- Subject: Problem in make
Hi,
I am getting the following error when i do a make for gcc-2.95.2
/projects/BERT/gcc-2.95.2/gcc/xgcc -B/projects/BERT/gcc-2.95.2/gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks
-D_GNU_SOURCE -fno-implicit-templates -I. -I. -nostdinc++ -D_IO_MTSAFE_IO
indstream.cc -o pic/indstream.o
/projects/BERT/gcc-2.95.2/gcc/xgcc -B/projects/BERT/gcc-2.95.2/gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks
-D_GNU_SOURCE -fno-implicit-templates -I. -I. -nostdinc++ -D_IO_MTSAFE_IO
indstream.cc
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'
requestedmake[1]: *** [indstream.o] Error 1
make[1]: Leaving directory
`/projects/BERT/gcc-2.95.2/i686-pc-linux-gnu/libio'
make: *** [all-target-libio] Error 2
Couls anyone help me figure out why this is happening.
Thanks,
Satya