From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Wilhelm To: "Lassi A. Tuura" 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 Message-id: <19971201112846.20776@haegar.physiol.med.tu-muenchen.de> References: <34826CB3.3E868177@cern.ch> X-SW-Source: 1997-12/msg00009.html 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 :-(