public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "gdr at integrable-solutions dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/12615] [3.3 Regression] initializer syntax for POD structs gives parse error
Date: Wed, 15 Oct 2003 11:20:00 -0000	[thread overview]
Message-ID: <20031015112040.21264.qmail@sources.redhat.com> (raw)
In-Reply-To: <20031014193706.12615.bruno@clisp.org>

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12615



------- Additional Comments From gdr at integrable-solutions dot net  2003-10-15 11:20 -------
Subject: Re:  [3.3 Regression] initializer syntax for POD structs gives parse error

"bruno at clisp dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| Gabriel dos Reis writes: 
| > There is a standard way to express an equivalent construct.  I  would strongly 
| > suggest you use it. 
|  
| The problem with this is that it is not a syntax which is valid in
| initializers _and_  expressions. I'd need to write 

The C99 standard syntax works in both cases

The syntax you used is documented as non-supported in g++.  So this
is a C++ bug.

-- Gaby


  parent reply	other threads:[~2003-10-15 11:20 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-14 19:37 [Bug c++/12615] New: initializer syntax for PAD " gcc-bugzilla at gcc dot gnu dot org
2003-10-14 19:47 ` [Bug c++/12615] [3.3 Regression] " pinskia at gcc dot gnu dot org
2003-10-14 19:54 ` gdr at integrable-solutions dot net
2003-10-14 21:38   ` Joseph S. Myers
2003-10-14 22:10     ` Gabriel Dos Reis
2003-10-14 20:13 ` schwab at suse dot de
2003-10-14 20:40 ` gdr at integrable-solutions dot net
2003-10-14 20:46 ` bruno at clisp dot org
2003-10-14 21:38 ` [Bug c++/12615] [3.3 Regression] initializer syntax for POD " jsm at polyomino dot org dot uk
2003-10-14 21:40 ` gdr at integrable-solutions dot net
2003-10-15 10:44 ` bruno at clisp dot org
2003-10-15 11:20 ` gdr at integrable-solutions dot net [this message]
2003-10-15 11:49 ` bruno at clisp dot org
2003-10-15 16:23 ` gdr at integrable-solutions dot net
2003-10-15 18:43 ` bruno at clisp dot org
2003-10-18 11:32 ` gdr at integrable-solutions dot net
2003-10-18 15:21 ` 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=20031015112040.21264.qmail@sources.redhat.com \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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: link
Be 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).