This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/17325] mingw bootstrap fails at libstdc++-v3/include/bits/concurrence.h
- From: "dannysmith at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Sep 2004 00:20:01 -0000
- Subject: [Bug bootstrap/17325] mingw bootstrap fails at libstdc++-v3/include/bits/concurrence.h
- References: <20040904225547.17325.aaronavay62@aaronwl.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dannysmith at users dot sourceforge dot net 2004-09-05 00:20 -------
Confirmed
I had'nt seen this either since I had backported the trunk gthr-win32.h
changes into my local tree a long time ago to take advantage of the speed
enhancements
The problem is that on 3.4 branch __gthread_mutex_t is typedef'd in gthr-
win32.h as
typedef void* __gthread_mutex_t;
so this:
struct __glibcxx_mutex : public __gthread_mutex_t
in concurrence.h bombs out.
On trunk the gthr-win32.h typedef is
typedef struct {
long counter;
void *sema;
} __gthread_mutex_t;
Danny
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17325