[Bug c/36839] struct with only anonymous unions plus flexible array member

joseph at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Fri Feb 27 20:58:00 GMT 2009



------- Comment #5 from joseph at codesourcery dot com  2009-02-27 20:58 -------
Subject: Re:  struct with only anonymous unions plus flexible
 array member

Anonymous unions are outside the scope of C99, so this issue is purely 
about what is most useful for GNU C right now.

However, there have been discussions of including some form of anonymous 
structs and unions in C1x, and if that goes in we'd want to follow 
whatever that may say about whether this is valid (along with other 
aspects of anonymous structs/unions - hopefully C1x would follow C++).


-- 


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



More information about the Gcc-bugs mailing list