Wait, don't commit the patch [Re: how do I stop gcjh from generating function bodies?]

Adam Megacz gcj@lists.megacz.com
Sun Nov 4 22:24:00 GMT 2001


Tom Tromey <tromey@redhat.com> writes:
> Thanks again for finding this.
> I wrote a patch to gcjh which should fix this bug.
> Could you try it out?

Crap, I mistested it. Right now it's generating this:
 virtual ::org::xwt::engine::PixelGrid *getPG () { return reinterpret_cast<::org::xwt::engine::PixelGrid *> (this); }
Which isn't compiling -- here's the error:
 [apply] In file included from /home/megacz/valency/xwt/src/org/xwt/engine/boot/natGSurface.cc:6:
 [apply] src/org/xwt/engine/boot/GSurface.h: In member function `virtual 
 [apply] org::xwt::engine::PixelGrid* org::xwt::engine::boot::GSurface::getPG()':
 [apply] src/org/xwt/engine/boot/GSurface.h:58: parse error before `;' token
Unfortunately my knowledge of C++ templates is really poor, so I can't
figure out why it won't work.
 - a


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /