From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26021 invoked by alias); 28 Nov 2005 18:46:06 -0000 Received: (qmail 26011 invoked by alias); 28 Nov 2005 18:46:05 -0000 Date: Mon, 28 Nov 2005 18:46:00 -0000 Message-ID: <20051128184605.26010.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/25137] Warning "missing braces around initializer" causing problems with tr1::array In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "gdr at integrable-solutions dot net" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2005-11/txt/msg03870.txt.bz2 List-Id: ------- Comment #7 from gdr at integrable-solutions dot net 2005-11-28 18:46 ------- Subject: Re: Warning "missing braces around initializer" causing problems with tr1::array "chris at bubblescope dot net" writes: | Actually, is a report really approriate? Writing array = {1,2,3} is | perfectly valid C++, just warned about with -Wmissing-braces You're absolutely right! I forgot 8.5.1/11! Can't we have simple, general rules, without list of special cases? :-( -- Gaby -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25137