[patch for libg++] Re: 1990314 fails to build
Alexandre Oliva
oliva@dcc.unicamp.br
Tue Mar 16 21:36:00 GMT 1999
On Mar 14, 1999, Alexandre Oliva <oliva@dcc.unicamp.br> wrote:
> On Mar 14, 1999, Dave Gilbert <gilbertd@treblig.org> wrote:
>> iostream.cc:130: prototype for `class istream & istream::read(char *,
>> int)' does not match any in class `istream'
>> iostream.h:143: candidates are: class istream & istream::read(void *, long
>> int)
> [snip]
>> `/home/gilbertd/egcs-source/egcs-19990314/alphaev56-unknown-linux-gnu/libio'
> Same here... The attached patch has fixed it (ok to install?),
Even though a patch by Mark Mitchell has already fixed the bug that
exposed this problem, I still think that it would be wise to make
ios::streamsize be the same type as ::streamsize, wouldn't it?
> Unfortunately, at least on alpha-dec-osf4.0, I got more failures after
> the one you posted:
The problem is that, on DU4.0, some definitions of
/usr/include/reg_types.h conflict with those in libg++/librx/rx.h
reg_types.h is
included from /usr/include/sys/lc_core.h:64,
from /usr/include/sys/localedef.h:79,
from /usr/include/ctype.h:111,
from /home/msc/oliva/src/egcs-main/libg++/src/Regex.cc:26:
I've come up with the attached (admittedly dirty and error-prone :-)
patch to work around the problem. The weird thing is, although I
started using libg++ 2.8.1.3 at least 2 weeks ago, the problem only
appeared in the last snapshot. But I thought Martin would like to
know about it...
--
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