* problem libio/filebuf.cc
@ 2000-08-03 5:28 Kaoru Fukui
2000-08-04 1:40 ` Kaoru Fukui
0 siblings, 1 reply; 2+ messages in thread
From: Kaoru Fukui @ 2000-08-03 5:28 UTC (permalink / raw)
To: gcc
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(*,*).
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: problem libio/filebuf.cc
2000-08-03 5:28 problem libio/filebuf.cc Kaoru Fukui
@ 2000-08-04 1:40 ` Kaoru Fukui
0 siblings, 0 replies; 2+ messages in thread
From: Kaoru Fukui @ 2000-08-04 1:40 UTC (permalink / raw)
To: gcc
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(*,*).
>
>
>
>
>
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-08-04 1:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-03 5:28 problem libio/filebuf.cc Kaoru Fukui
2000-08-04 1:40 ` Kaoru Fukui
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).