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

Gerald Pfeifer pfeifer@dbai.tuwien.ac.at
Tue Aug 13 04:13:00 GMT 2002


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/



More information about the Libstdc++ mailing list