This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the GCJ project. See the GCJ home page for more information.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
>>>>> "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