This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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

[Get raw message]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]