public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Robert Wilhelm <robert@physiol.med.tu-muenchen.de>
To: "Lassi A. Tuura" <Lassi.Tuura@cern.ch>
Cc: neal@ctd.comsat.com, egcs@cygnus.com, g++@cygnus.com
Subject: Re: 971127 array initialization problem!?!
Date: Mon, 01 Dec 1997 02:46:00 -0000	[thread overview]
Message-ID: <19971201112846.20776@haegar.physiol.med.tu-muenchen.de> (raw)
In-Reply-To: <34826CB3.3E868177@cern.ch>

On Mon, Dec 01, 1997 at 08:52:19AM +0100, Lassi A. Tuura wrote:
> neal@ctd.comsat.com wrote:
> >   QBitmap* y = new QBitmap[5](2,2);
> 
> This is not valid C++ syntax -- initialisers are not allowed in
> array-new expression.  Code like this used to compile with g++, but I
> don't know if it ever was officially supported GNU extension.  If the
> feature has been removed, the diagnostic could be improved...
>

Would the g++ maintainers accept patches to restore the old behavior?

I have quite a lot of code which depends on 
this unofficial behavior :-(

  reply	other threads:[~1997-12-01  2:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-30  7:17 neal
1997-11-30 14:29 ` Alexandre Oliva
1997-11-30 23:52 ` Lassi A. Tuura
1997-12-01  2:46   ` Robert Wilhelm [this message]
1997-12-01 11:32     ` Joe Buck

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=19971201112846.20776@haegar.physiol.med.tu-muenchen.de \
    --to=robert@physiol.med.tu-muenchen.de \
    --cc=Lassi.Tuura@cern.ch \
    --cc=egcs@cygnus.com \
    --cc=g++@cygnus.com \
    --cc=neal@ctd.comsat.com \
    /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).