Problem compiling the CVS libgcj.
Alexandre Oliva
aoliva@redhat.com
Sat Jul 29 11:18:00 GMT 2000
On Jul 29, 2000, Tom Tromey <tromey@cygnus.com> wrote:
>>>>>> ">" == Kai-Peter G Backman <kpbackma@cc.helsinki.fi> writes:
>>> I get three similar errors where the function call is of type
>>> "void (*) (...)" while the declaration requires "void (*) ()":
> This looks like a newly introduced bug in the C++ compiler.
> Complain to the gcc bug list.
Actually, there was a bug in there, but the bug has already been
fixed, and libgcj still fails to compile. It fails because g++ no
longer assumes (...) and (void) are compatible argument lists, except
for extern "C" functions or something like that, but libgcj expects an
automatic conversion in this case. So it seems that Alexandre
Petit-Bianco's patch was indeed fixing a problem in libgcj, that was
unrelated with the bug in the implementation of that change.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Java
mailing list