From mboxrd@z Thu Jan 1 00:00:00 1970 From: JC Loredo-Osti To: Joe Buck Cc: egcs-bugs@cygnus.com, egcs@cygnus.com Subject: Re: is it a bug? Date: Thu, 30 Apr 1998 13:15:00 -0000 Message-id: References: <199804301947.MAA23991@atrus.synopsys.com> X-SW-Source: 1998-04/msg00702.html List-Id: > > > Both, egcs-19980418 and egcs-19980425, complain about the follwing code > > > main(){ > > double *p = new double[3](0); > > } > > That's because it isn't C++. g++ used to have an extension that allowed > the use of constructor arguments with arrays, but it hasn't been > maintained and the egcs team wants to encourage people to program in C++, > not a strange dialect called g++. So you are likely to see the more > questionable GNU extensions eliminated. > Yes, I have seen some of those. For this one I look into some books and I didn't read nothing about it. Thanks a lot, -j