java/lang/natObject.cc Difficulties

Jeffrey Oldham oldham@codesourcery.com
Thu May 24 08:25:00 GMT 2001


	I am having difficulty compiling
libjava/java/lang/natObject.cc for gcc 3.1 i686-pc-linux-gnu:

1) /nfs/oz/home/oldham/gcc/gcc2/libjava/java/lang/natObject.cc:506: ISO C++ 
   forbids declaration of `_Jv_ThreadId_t' with no type.  Should

		  #include <include/posix-threads.h>

   be added near the top of the file?  Doing so seemed to cause
   redefinition errors.

2) alloc_heavy() uses si without first defining it.

	Also, I see a ChangeLog entry in libjava/ChangeLog.  Is there
a corresponding message in the gcc-patches mailing list?

Thanks,
Jeffrey D. Oldham
oldham@codesourcery.com



More information about the Gcc-bugs mailing list