Possible bad warning on tr1::array initializer.

Paolo Carlini pcarlini@suse.de
Wed Mar 8 22:21:00 GMT 2006


Smith-Rowland, Edward M wrote:

>The first two warnings seem incorrect to me.
>  
>
Yes, other people agree with you. But, AFAICS, we can't do much on the 
library side... (besides using -Wno-missing-braces ;)

I think that arguably there is a mismatch between the "philosophy" 
underlying tr1::array (see, in particular, 6.2.2/2) and this kind of 
warning emitted by g++. Chris knows better, anyway...

Paolo.



More information about the Libstdc++ mailing list