This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26604] primitive type initialisation in array allocation
- From: "allali at univ-mlv dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Mar 2006 16:30:32 -0000
- Subject: [Bug c++/26604] primitive type initialisation in array allocation
- References: <bug-26604-1869@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from allali at univ-mlv dot fr 2006-03-08 16:30 -------
(In reply to comment #2)
> All < 3.4.0 accept the code. Fixed with the new C++ parser.
>
I've checked and you're right. Is there a way to have array elements
initialized by a specific constructor in g++ > 3.4 (to get the example work)?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26604