This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/2123] Array initializer
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Nov 2003 15:18:24 -0000
- Subject: [Bug c++/2123] Array initializer
- References: <20010228055600.2123.schreib@stoch.fmi.uni-passau.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2003-11-12 15:18 -------
Apparently only part of the new-initializer syntax has been removed.
Of this example,
----------------------
int* pa = new int[10](5);
int* pb = new int[10] = {5};
----------------------
the first line still compiles, while the second now gives an
error. Both were allowed in 2.95, whereas the second was
deprecated in 3.0 and removed in 3.3.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|0000-00-00 00:00:00 |2003-11-12 15:18:23
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2123