This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/8731] thread mutex initializers
- From: "georg dot wild at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 May 2003 07:59:50 -0000
- Subject: [Bug libstdc++/8731] thread mutex initializers
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8731
------- Additional Comments From georg.wild@gmx.de 2003-05-24 07:59 -------
Well, in the meantime I use glibc 2.3.2, gcc 3.3 and the last sigc++ was 1.2.5.
I a time ago installed this, and obviously it worked, but maybe they changed the
code.
When I try to compile this attachment 1.ii, I get the following, but I think you
must have the real source file to compile, but I haven't:
/tmp>gcc 1.ii
In file included from /usr/local/gcc/3.2/include/c++/3.2/bits/stl_alloc.h:86,
from /usr/local/gcc/3.2/include/c++/3.2/memory:55,
from /usr/local/gcc/3.2/include/c++/3.2/string:48,
from /usr/local/gcc/3.2/include/c++/3.2/bits/localefwd.h:49,
from /usr/local/gcc/3.2/include/c++/3.2/ios:48,
from /usr/local/gcc/3.2/include/c++/3.2/ostream:45,
from /usr/local/gcc/3.2/include/c++/3.2/iostream:45,
from /usr/local/gcc/3.2/include/c++/3.2/backward/iostream.h:32,
from configure:8485:
/usr/local/gcc/3.2/include/c++/3.2/bits/stl_threads.h: In constructor `
std::_Refcount_Base::_Refcount_Base(unsigned int)':
/usr/local/gcc/3.2/include/c++/3.2/bits/stl_threads.h:74: error: brace-enclosed
initializer used to initialize `int'
/usr/local/gcc/3.2/include/c++/3.2/bits/stl_threads.h: At global scope:
/usr/local/gcc/3.2/include/c++/3.2/bits/stl_threads.h: In instantiation of
`__gthread_mutex_t std::_Swap_lock_struct<0>::_S_swap_lock':
/usr/local/gcc/3.2/include/c++/3.2/bits/stl_threads.h:122: instantiated from here
/usr/local/gcc/3.2/include/c++/3.2/bits/stl_threads.h:115: error: brace-enclosed
initializer used to initialize `int'
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.