From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23553 invoked by alias); 26 Oct 2012 11:45:34 -0000 Received: (qmail 23446 invoked by uid 48); 26 Oct 2012 11:45:15 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/11393] Initializer of static const float class member is not legal in c++98 Date: Fri, 26 Oct 2012 11:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-10/txt/msg02434.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D11393 --- Comment #30 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez 2012-10-26 11:45:11 UTC --- >=20 > Your "c" example seems like a completely separate issue that should be a > separate PR, I don't understand why it's being discussed here. It is now PR55080. About this PR, I concur now with Jonathan: "My suggestion would be do nothing and lose the PR. If you want a warning = in C++98 use -pedantic, which is consistent with other GNU extensions. In C++11 use constexpr."