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/26370] anon union/struct at top level



------- Comment #2 from acahalan at gmail dot com  2006-02-19 23:02 -------
Given that we have anon unions, and given that unions can exist at top level
and function level, this is a very logical extension. It lifts an annoying and
arbitrary restriction.

>From the user's point of view, this doesn't add anything. It removes an
inconsistancy.

You could say that nobody NEEDS anon unions at all, yet they were found useful.
The practice of adding useful-but-not-required stuff started before C was even
called C.


-- 


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


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