This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/11365] New: initializer problem in stl_threads.h


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!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]