From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1703 invoked by alias); 1 Jul 2003 17:31:49 -0000 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 Received: (qmail 1694 invoked by uid 48); 1 Jul 2003 17:31:49 -0000 Date: Tue, 01 Jul 2003 17:31:00 -0000 Message-ID: <20030701173149.1693.qmail@sources.redhat.com> From: "pinskia at physics dot uc dot edu" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030701172459.11393.rearnsha@gcc.gnu.org> References: <20030701172459.11393.rearnsha@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/11393] Initializer of static const float class member is not legal in c++98 X-Bugzilla-Reason: CC X-SW-Source: 2003-07/txt/msg00067.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11393 pinskia at physics dot uc dot edu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID ------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-01 17:31 ------- It does reject with "gcc -S pr11393.cc -pedantic-errors" in the mainline (20030701) and has done since at least 2.95.3. I think this is the right thing to do is to warn about with -pedantic.