public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: Gabriel Dos Reis <gdr@integrable-solutions.net> To: gcc-bugzilla@gcc.gnu.org Cc: gcc-bugs@gcc.gnu.org Subject: Re: [Bug c++/11393] New: Initializer of static const float class member is not legal in c++98 Date: Fri, 04 Jul 2003 11:10:00 -0000 [thread overview] Message-ID: <m3adbulfee.fsf@uniton.integrable-solutions.net> (raw) In-Reply-To: <20030701172459.11393.rearnsha@gcc.gnu.org> "rearnsha at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes: | 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 | | Summary: Initializer of static const float class member is not | legal in c++98 | Product: gcc | Version: 3.4 | Status: UNCONFIRMED | Keywords: accepts-invalid | Severity: normal | Priority: P2 | Component: c++ | AssignedTo: unassigned at gcc dot gnu dot org | ReportedBy: rearnsha at gcc dot gnu dot org | CC: gcc-bugs at gcc dot gnu dot org | GCC build triplet: any | | The following code is not legal in c++ 98 (9.4.2 par 4) and should generate a | diagnostic. As this is probably a gnu extension, it should probably only do | this when -std=c++98. I think that was even removed in 3.4, so we should definitely error (or pedwarn) that construct. -- Gaby
next prev parent reply other threads:[~2003-07-04 11:10 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-07-01 17:25 rearnsha at gcc dot gnu dot org 2003-07-01 17:31 ` [Bug c++/11393] " pinskia at physics dot uc dot edu 2003-07-02 16:43 ` rearnsha at gcc dot gnu dot org 2003-07-02 16:47 ` pinskia at physics dot uc dot edu 2003-07-02 17:06 ` rearnsha at arm dot com 2003-07-02 23:28 ` jsm28 at cam dot ac dot uk 2003-07-04 11:10 ` Gabriel Dos Reis [this message] 2003-07-04 11:10 ` gdr at integrable-solutions dot net 2003-07-04 11:33 ` gdr at integrable-solutions dot net 2003-07-04 11:33 ` gdr at integrable-solutions dot net 2003-07-04 11:35 ` gdr at integrable-solutions dot net 2003-07-07 10:25 ` rearnsha at gcc dot gnu dot org 2003-07-07 10:25 ` rearnsha at gcc dot gnu dot org 2003-07-07 23:23 ` bangerth at dealii dot org 2003-08-11 15:32 ` lerdsuwa at gcc dot gnu dot org 2003-08-23 0:39 ` dhazeghi at yahoo dot com 2004-11-09 23:09 ` pinskia at gcc dot gnu dot org 2005-04-18 17:32 ` pinskia at gcc dot gnu dot org 2005-04-18 17:38 ` pinskia at gcc dot gnu dot org 2005-05-10 17:44 ` pinskia at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=m3adbulfee.fsf@uniton.integrable-solutions.net \ --to=gdr@integrable-solutions.net \ --cc=gcc-bugs@gcc.gnu.org \ --cc=gcc-bugzilla@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).