Deprecate some C++ extensions

Nathan Sidwell nathan@acm.org
Tue Mar 20 18:41:00 GMT 2018


This patch deprecates 2 sets of extensions

1)  'T v (init) __attribute__ ((ignored))'
That attribute placement has had no effect since the new parser (2002, I 
think gcc 3.3).  Now we're more noisy about it.

2) anonymous struct or union members could be things other than public 
non-static data members.  Now we're noisier about that too.

I updated the 'Deprecated Features' piece of the documentation, it was 
mentioning some now-removed items as merely deprecated.  It occurs to me 
we should probably just merge the 'Backwards Compatibility' section into 
'Deprecated Features'.  Perhaps add a 'Removed Features' section too? 
Sandra, WDYT?

nathan
-- 
Nathan Sidwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: depr.diff
Type: text/x-patch
Size: 10542 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180320/a8f09dfb/attachment.bin>


More information about the Gcc-patches mailing list