[Bug libgcj/28546] [4.2 Regression] ./java/lang/Thread.h:31: error: using typedef-name '_Jv_Thread_t' after 'class'
dave at hiauly1 dot hia dot nrc dot ca
gcc-bugzilla@gcc.gnu.org
Mon Jul 31 22:23:00 GMT 2006
------- Comment #6 from dave at hiauly1 dot hia dot nrc dot ca 2006-07-31 22:23 -------
Subject: Re: [4.2 Regression] ./java/lang/Thread.h:31: error: using
typedef-name '_Jv_Thread_t' after 'class'
> ------- Comment #5 from andreast at gcc dot gnu dot org 2006-07-31 22:15 -------
> Working on a patch.
Trying the patch below.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
Index: include/no-threads.h
===================================================================
--- include/no-threads.h (revision 115793)
+++ include/no-threads.h (working copy)
@@ -25,7 +25,10 @@
typedef int _Jv_ConditionVariable_t;
typedef int _Jv_Mutex_t;
-typedef int _Jv_Thread_t;
+typedef struct _Jv_Thread_t
+{
+ int thread;
+};
typedef void _Jv_ThreadStartFunc (java::lang::Thread *);
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28546
More information about the Gcc-bugs
mailing list