This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libjava doesn't build with new cp/*
On Sep 4, 2003, Nathan Sidwell <nathan@codesourcery.com> wrote:
> *(::java::lang::Object**) &peer = (::java::lang::Object*) w;
If the point is to make the left-hand operand an lvalue, just cast to
a reference type:
(::java::lang::Object*&) peer = (::java::lang::Ojbect*) w;
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer