libjava doesn't build with new cp/*

Tom Tromey tromey@redhat.com
Thu Sep 4 17:18:00 GMT 2003


>>>>> "Nathan" == Nathan Sidwell <nathan@codesourcery.com> writes:

Nathan> given the semantics of cast-is-lvalue extension, I guess
Nathan> 	*(::java::lang::Object**) &peer = (::java::lang::Object*) w;
Nathan> is what is needed.

What a bogus little piece of code this is.

I have a somewhat different fix I'll check in.  This one doesn't
involve any casting on the l-side.

Tom



More information about the Gcc mailing list