This is the mail archive of the gcc-patches@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]

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


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.

Jason


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