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.
- From: Paolo Carlini <pcarlini at suse dot de>
- To: "Smith-Rowland, Edward M" <ESmith-rowland at alionscience dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Wed, 08 Mar 2006 23:22:57 +0100
- Subject: Re: Possible bad warning on tr1::array initializer.
- References: <E5FD80AAAE46C142A314FEDCA7B48EB303FD9216@email3a.alionscience.com>
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.