This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: anonymous types
- To: youngmm at hera dot wku dot edu
- Subject: Re: anonymous types
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Thu, 4 May 2000 23:00:13 +0200
- CC: gcc-bugs at gcc dot gnu dot org
- References: <Pine.GSO.4.20.0005040833460.4430-200000@hera.wku.edu>
> Hopefully I won't get thrashed like I did the last time...
Thanks for your bug report. Unfortunately, that will happen again.
> Why does GNU C/C++ allow my "anonymous struct" to be declared, but not
> passed as a parameter?
Please note that this already is a question, not a bug report. Please
discuss it in one of the public C++ fora first,
eg. comp.lang.c++.moderated, or comp.std.c++.
> I don't see why it should complain.
I won't tell you why; this list is not about teaching people C++. I
can only tell you that it is answered in 3.5, [basic.link]/8.
> When I ask people these questions, they always spout off the
> standard--where the crap do I find it?
webstore.ansi.org.
Regards,
Martin