Make C1X anonymous structs/unions follow N1549

2011-03-18 Thread Joseph S. Myers
This week's London WG14 meeting agreed to disallow the use of typedefs in declaring anonymous structure and union fields, as per N1549. This patch implements this, restricting the use of typedefs in this case to -fms-extensions and -fplan9-extensions as in 4.5 and earlier releases. Bootstrapped

Re: Make C1X anonymous structs/unions follow N1549

2011-03-18 Thread Jakub Jelinek
On Fri, Mar 18, 2011 at 09:16:55PM +, Joseph S. Myers wrote: This week's London WG14 meeting agreed to disallow the use of typedefs in declaring anonymous structure and union fields, as per N1549. This patch implements this, restricting the use of typedefs in this case to -fms-extensions

Re: Make C1X anonymous structs/unions follow N1549

2011-03-18 Thread Mark Mitchell
On 3/18/2011 2:52 PM, Jakub Jelinek wrote: This week's London WG14 meeting agreed to disallow the use of typedefs in declaring anonymous structure and union fields, as per N1549. This patch implements this, restricting the use of typedefs in this case to -fms-extensions and

Re: Make C1X anonymous structs/unions follow N1549

2011-03-18 Thread Joseph S. Myers
On Fri, 18 Mar 2011, Jakub Jelinek wrote: On Fri, Mar 18, 2011 at 09:16:55PM +, Joseph S. Myers wrote: This week's London WG14 meeting agreed to disallow the use of typedefs in declaring anonymous structure and union fields, as per N1549. This patch implements this, restricting the