This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
java/lang/natObject.cc Difficulties
- To: Hans_Boehm at hp dot com
- Subject: java/lang/natObject.cc Difficulties
- From: Jeffrey Oldham <oldham at codesourcery dot com>
- Date: Thu, 24 May 2001 08:25:32 -0700
- cc: oldham at codesourcery dot com, gcc-bugs at gcc dot gnu dot org
- Reply-to: oldham at codesourcery dot com
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