From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20293 invoked by alias); 13 Jan 2003 23:26:32 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 20274 invoked by uid 61); 13 Jan 2003 23:26:31 -0000 Date: Mon, 13 Jan 2003 23:26:00 -0000 Message-ID: <20030113232631.20273.qmail@sources.redhat.com> To: bangerth@ticam.utexas.edu, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org From: reichelt@igpm.rwth-aachen.de Reply-To: reichelt@igpm.rwth-aachen.de, bangerth@ticam.utexas.edu, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/8797: g++ accepts in-class initialization of non-integral static member X-SW-Source: 2003-01/txt/msg00842.txt.bz2 List-Id: Synopsis: g++ accepts in-class initialization of non-integral static member State-Changed-From-To: open->closed State-Changed-By: reichelt State-Changed-When: Mon Jan 13 15:26:30 2003 State-Changed-Why: Fixed with the new parser. We now get the following error message (even without -pedantic): bug.cc:2: error: a brace-enclosed initializer is not allowed here bug.cc:2: error: invalid in-class initialization of static data member of non-integral type `const int[]' http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8797