This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: problem libio/filebuf.cc
I tried to use streampos(EOF) instead fo EOF,
But It's wrong.
Kaoru
From: Kaoru Fukui <k_fukui@highway.ne.jp>
To: gcc@gcc.gnu.org
Subject: problem libio/filebuf.cc
Date: Thu, 3 Aug 2000 21:25:52 +0900
> HI!
>
> I have a problem,when compiling gcc-2.95.3 on glinc 2.1.92.
>
>
> Any help.
>
> Kaoru
> fukui@ppc.linux.or.jp
>
> /usr/src/redhat/BUILD/gcc-2.95.3.pre/libio/filebuf.cc:
> In method 'class filebuf * filebuf::open(const char *, int, int =436)':
> /usr/src/redhat/BUILD/gcc-2.95.3.pre/libio/filebuf.cc:119: no match
> for 'streampos == int'
> make[1]: *** [filebuf.o] Error 1
>
> ----line 119 in filebuf.cc-----------
>
> if (pubseekoff(0, ios::end) ==EOF)
>
> -----------------------
> But pubseekoff function have three parameter.
> Like this
>
> ---- line 361 in streambuf.h ------------------
> streampos pubseekoff(streamoff o,_seek_dir d, int mode=ios::in|ios::out)
>
>
> I could not find Two parameter's pubseekoff(*,*).
>
>
>
>
>
>
>
>