This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/28546] [4.2 Regression] ./java/lang/Thread.h:31: error: using typedef-name '_Jv_Thread_t' after 'class'
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Jul 2006 22:23:14 -0000
- Subject: [Bug libgcj/28546] [4.2 Regression] ./java/lang/Thread.h:31: error: using typedef-name '_Jv_Thread_t' after 'class'
- References: <bug-28546-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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