This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/53196] unknown struct name in C99 compound initializer doesn't generate error


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53196

--- Comment #3 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2012-05-02 19:52:08 UTC ---
(In reply to comment #2)
> That's simply because compound literals aren't valid in C++.

So this page is wrong? 
http://gcc.gnu.org/onlinedocs/gcc/Compound-Literals.html


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]