This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/40076] g++ should not permit types to be defined in compound literals
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 May 2009 21:51:05 -0000
- Subject: [Bug c++/40076] g++ should not permit types to be defined in compound literals
- References: <bug-40076-1313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2009-05-08 21:51 -------
Oh, types are valid to be defined in casts in C. You did not mention that in
the bug report so I thought you could not define a type in C either.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40076