libio/iostream.* compilation problem, egcs 2.93.13

Alexandre Oliva oliva@dcc.unicamp.br
Wed Mar 31 23:54:00 GMT 1999


On Mar 14, 1999, Matti Aarnio <matti.aarnio@sonera.fi> wrote:

> "2.93.13") in separate directory at my Linux/Alpha system (2.2.3 kernel,
> ../../../libio/iostream.cc:130: prototype for `class istream & istream::read(char *, int)' does not match any in class `istream'
> ../../../libio/iostream.h:143: candidates are: class istream & istream::read(void *, long int)

Yup, this should be fixed by some recent Mark Mitchell's patch.
Nevertheless, I have posted a patch that declares ios::streamsize as
_IO_ssize_t, just like ::streamsize, but it wasn't commented upon
so far.

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org,computer.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Instituto de Computação, Universidade Estadual de Campinas, SP, Brasil
*** E-mail about software projects will be forwarded to mailing lists




More information about the Gcc-bugs mailing list