This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Should typedef'd unnamed structs be supported?
On Thu, Mar 27, 2003 at 09:57:11AM +0100, Philipp Thomas wrote:
> And here's the catch: in 3.3 and mainline this only gives a warning when
> it's a declaration.
Yes. Not sure about the history of this off the top of my head.
While the comment says error, the code says warning.
> Sadly that's only true for 3.3 and up :( 3.2 accepts it without that switch
> and that's why the ntfs driver developers seemingly decided to use it.
I recall this being wrong in the past and fixing it. I didn't
recall specifically that 3.2 allowed it.
Please smack the ntfs folk for me please. This is gross.
> Yes, I also think that this is mistake. I'll see if I can come up with
> something. BTW, from which file does the comment come from?
gcc/c-decl.c.
r~