public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Lassi A. Tuura" <Lassi.Tuura@cern.ch>
To: neal@ctd.comsat.com
Cc: egcs@cygnus.com
Subject: Re: 971127 array initialization problem!?!
Date: Sun, 30 Nov 1997 23:52:00 -0000	[thread overview]
Message-ID: <34826CB3.3E868177@cern.ch> (raw)
In-Reply-To: <E0xcB9E-00003z-00@neal.fred.net>

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...

Cheers,
//lat
-- 
Lassi.Tuura@cern.ch          There's no sunrise without a night

  parent reply	other threads:[~1997-11-30 23:52 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 [this message]
1997-12-01  2:46   ` Robert Wilhelm
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=34826CB3.3E868177@cern.ch \
    --to=lassi.tuura@cern.ch \
    --cc=egcs@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).