[Bug bootstrap/17325] mingw bootstrap fails at libstdc++-v3/include/bits/concurrence.h

dannysmith at users dot sourceforge dot net gcc-bugzilla@gcc.gnu.org
Sun Sep 5 00:20:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list