This is the mail archive of the gcc@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]

STL warnings recently appeared in the 3.0 branch


Since very recently (about one week), I get a _lot_ of warnings like the
following with -W -Wall -pedantic :

.../include/g++-v3/bits/stl_alloc.h:494:
warning: aggregate has a partly bracketed initializer
.../include/g++-v3/bits/stl_alloc.h:494:
warning: aggregate has a partly bracketed initializer
.../include/g++-v3/bits/stl_alloc.h:494:
warning: missing initializer for member
   `_pthread_mutex::<anonymous struct>::__pthread_mutex_type'
.../include/g++-v3/bits/stl_alloc.h:494:
warning: missing initializer for member
   `_pthread_mutex::__pthread_mutex_lock'
.../include/g++-v3/bits/stl_alloc.h:494:
warning: missing initializer for member
   `_pthread_mutex::__pthread_mutex_data'

I don't get them on GNU-Linux, but they appear on Solaris.

-- 
Sylvain


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