This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/11365] New: initializer problem in stl_threads.h
- From: "craie at acm dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jun 2003 01:34:19 -0000
- Subject: [Bug libstdc++/11365] New: initializer problem in stl_threads.h
- 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=11365
Summary: initializer problem in stl_threads.h
Product: gcc
Version: 3.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: craie at acm dot org
CC: gcc-bugs at gcc dot gnu dot org
When compiling any program on our HP/UX box at school with gcc 3.2, I get
the following warnings:
/usr/local/include/c++/3.2/bits/stl_threads.h: At global scope:
/usr/local/include/c++/3.2/bits/stl_threads.h: In instantiation of `__gthread_mu
tex_t std::_Swap_lock_struct<0>::_S_swap_lock':
/usr/local/include/c++/3.2/bits/stl_threads.h:122: instantiated from here
/usr/local/include/c++/3.2/bits/stl_threads.h:115: warning: aggregate has a
partly bracketed initializer
/usr/local/include/c++/3.2/bits/stl_threads.h:115: warning: aggregate has a
partly bracketed initializer
/usr/local/include/c++/3.2/bits/stl_threads.h:115: warning: aggregate has a
partly bracketed initializer
/usr/local/include/c++/3.2/bits/stl_threads.h:115: warning: aggregate has a
partly bracketed initializer
/usr/local/include/c++/3.2/bits/stl_threads.h:115: warning: aggregate has a
partly bracketed initializer
/usr/local/include/c++/3.2/bits/stl_threads.h:115: warning: aggregate has a
partly bracketed initializer
/usr/local/include/c++/3.2/bits/stl_threads.h:115: warning: aggregate has a
partly bracketed initializer
Kinda annoying to me, catastrophic to our first level programming students!