This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Possible bad warning on tr1::array initializer.
Paolo Carlini wrote:
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 ;)
IMO, this could be quite elegantly solved by implementing #pragma
warning disable (along push and pop).
Martin
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.