make errors on solaris for libgcj
Tom Tromey
tromey@cygnus.com
Thu Apr 8 16:04:00 GMT 1999
>>>>> "Vincent" == Vincent Joseph <vincent.joseph@usa.net> writes:
Vincent> I remade from a non source directory, and did not get any
Vincent> more make errors; however the compile errors are still there.
I wish I could help you.
Could you try compiling this program with your C++ compiler?
#include <stdio.h>
extern "Java"
{
typedef __java_int jint;
};
int main ()
{
jint x = 5;
return x;
}
If this fails then you have the wrong c++ compiler.
If it succeeds, then I have no idea what is going on.
Vincent> ../../../libgcj-snapshot-1999年04月08日/libjava/java/lang/Object.h:8:
Vincent> parse error before `::'
The line number here really bothers me.
I note that line 8 is the first line of the class declaration of
Object if I generate Object.h using gcjh. However, Object.h should
never be generated by gcjh -- gcjh won't do the right thing.
Could you send me your Object.h?
Tom
More information about the Java
mailing list