This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

sparc-sun-solaris2.9 and stl_threads.h:115: warning: aggregate hasa partly bracketed initializer


On sparc-sun-solaris2.9 I'm seeing a new warning (on the GCC 3.2-branch)
which I don't get on sparc-sun-solaris2.8:

  % cat x.cc
  #include <vector>

  % gccvs -ansi -Wall x.cc
  /sw/gcc-current/include/c++/3.2/bits/stl_threads.h: In instantiation of
      `__gthread_mutex_t std::_Swap_lock_struct<0>::_S_swap_lock':
  /sw/gcc-current/include/c++/3.2/bits/stl_threads.h:122:   instantiated
      from here
  /sw/gcc-current/include/c++/3.2/bits/stl_threads.h:115: warning:
      aggregate has a partly bracketed initializer

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/


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