On 09/25/2014 01:40 PM, Jason Merrill wrote:
On 09/01/2014 09:41 PM, Ed Smith-Rowland wrote:
+ cpp_define (pfile, __cpp_attribute_deprecated=201309);
Don't we support attribute deprecated in C++11?
Jason
We support [[gnu::deprecated]] in C++11 bit not [[deprecated]] until C++14.
Ed
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*
On 09/01/2014 09:41 PM, Ed Smith-Rowland wrote:
+ /* Return type deduction was added as an extension to C++11
+and was standardized for C+14. */
+ cpp_define (pfile, __cpp_return_type_deduction=201304);
When I try to use it with -std=c++11 I get
wa.C:1:8: error:
On 09/01/2014 09:41 PM, Ed Smith-Rowland wrote:
+ cpp_define (pfile, __cpp_attribute_deprecated=201309);
Don't we support attribute deprecated in C++11?
Jason
Greetings,
I am finally getting back to my SD-6 C++ features test work.
This second part adds a __has_include function-like macro that will
return true if a header exists. I also added a __has_include_next
function-like macro as an extension. Clang has this extension.
These macros just wrap