invoke GCJ .o files from C/C++ program
Andrew Haley
aph@pasanda.cygnus.co.uk
Thu Jul 13 08:20:00 GMT 2000
> Date: Thu, 13 Jul 2000 07:58:48 -0700 (PDT)
> From: Cecilia Vy-Ai Le <a1tv86@yahoo.com>
>
> But, I found the way to work arround. I remove
> 'virtual' keyword from the prototype for
> ::JavaTool::printLine(). Here is the change:
>
> class ::JavaTool : public ::java::lang::Object
> {
> public:
> //virtual void printLine (); -- generated by gcjh
> void printLine();
> JavaTool ();
> };
>
> What do you think? Is it an issue in gcjh or gcj?
It looks to me like a disagreement bewteen gcj and g++ over vtable layout.
Out of interest, can you post the output when you run the compiler
with the -v arg?
Andrew.
More information about the Java
mailing list