[PATCH C++] - SD-6 Implementation Part 2 - __has_include macro and C++ language feature macros.

Jason Merrill jason@redhat.com
Fri Sep 26 17:46:00 GMT 2014

On 09/26/2014 10:20 AM, Ed Smith-Rowland wrote:
> On 09/25/2014 01:40 PM, Jason Merrill wrote:
>> Don't we support attribute deprecated in C++11?
> We support [[gnu::deprecated]] in C++11 bit not [[deprecated]] until C++14.

Hmm, that seems unnecessary.  I'd allow it in C++11 as well, and *maybe* 
complain if -pedantic; 7.6/5 says "For an attribute-token not specified 
in this International Standard, the behavior is implementation defined" 
so allowing it is conforming.


More information about the Gcc-patches mailing list