re PR c++/71214 (Typo in feature test macro for rvalue references)
Fix PR c++/71214 PR c++/71214 * c-cppbuiltin.c (c_cpp_builtins): Define __cpp_rvalue_references. From-SVN: r238017
This commit is contained in:
parent
36a265b1da
commit
98d44e93bf
|
@ -1,3 +1,8 @@
|
|||
2016-07-05 Markus Trippelsdorf <markus@trippelsdorf.de>
|
||||
|
||||
PR c++/71214
|
||||
* c-cppbuiltin.c (c_cpp_builtins): Define __cpp_rvalue_references.
|
||||
|
||||
2016-06-29 Thomas Schwinge <thomas@codesourcery.com>
|
||||
|
||||
* c-pragma.h (enum pragma_kind): Rename
|
||||
|
|
|
@ -848,6 +848,7 @@ c_cpp_builtins (cpp_reader *pfile)
|
|||
cpp_define (pfile, "__cpp_decltype=200707");
|
||||
cpp_define (pfile, "__cpp_attributes=200809");
|
||||
cpp_define (pfile, "__cpp_rvalue_reference=200610");
|
||||
cpp_define (pfile, "__cpp_rvalue_references=200610");
|
||||
cpp_define (pfile, "__cpp_variadic_templates=200704");
|
||||
cpp_define (pfile, "__cpp_initializer_lists=200806");
|
||||
cpp_define (pfile, "__cpp_delegating_constructors=200604");
|
||||
|
|
|
@ -77,10 +77,10 @@
|
|||
# error "__cpp_attributes != 200809"
|
||||
#endif
|
||||
|
||||
#ifndef __cpp_rvalue_reference
|
||||
# error "__cpp_rvalue_reference"
|
||||
#elif __cpp_rvalue_reference != 200610
|
||||
# error "__cpp_rvalue_reference != 200610"
|
||||
#ifndef __cpp_rvalue_references
|
||||
# error "__cpp_rvalue_references"
|
||||
#elif __cpp_rvalue_references != 200610
|
||||
# error "__cpp_rvalue_references != 200610"
|
||||
#endif
|
||||
|
||||
#ifndef __cpp_variadic_templates
|
||||
|
|
|
@ -70,10 +70,10 @@
|
|||
# error "__cpp_attributes != 200809"
|
||||
#endif
|
||||
|
||||
#ifndef __cpp_rvalue_reference
|
||||
# error "__cpp_rvalue_reference"
|
||||
#elif __cpp_rvalue_reference != 200610
|
||||
# error "__cpp_rvalue_reference != 200610"
|
||||
#ifndef __cpp_rvalue_references
|
||||
# error "__cpp_rvalue_references"
|
||||
#elif __cpp_rvalue_references != 200610
|
||||
# error "__cpp_rvalue_references != 200610"
|
||||
#endif
|
||||
|
||||
#ifndef __cpp_variadic_templates
|
||||
|
|
|
@ -42,8 +42,8 @@
|
|||
# error "__cpp_attributes" // { dg-error "error" }
|
||||
#endif
|
||||
|
||||
#ifndef __cpp_rvalue_reference
|
||||
# error "__cpp_rvalue_reference" // { dg-error "error" }
|
||||
#ifndef __cpp_rvalue_references
|
||||
# error "__cpp_rvalue_references" // { dg-error "error" }
|
||||
#endif
|
||||
|
||||
#ifndef __cpp_variadic_templates
|
||||
|
|
|
@ -58,10 +58,10 @@
|
|||
# error "__cpp_attributes != 200809"
|
||||
#endif
|
||||
|
||||
#ifndef __cpp_rvalue_reference
|
||||
# error "__cpp_rvalue_reference"
|
||||
#elif __cpp_rvalue_reference != 200610
|
||||
# error "__cpp_rvalue_reference != 200610"
|
||||
#ifndef __cpp_rvalue_references
|
||||
# error "__cpp_rvalue_references"
|
||||
#elif __cpp_rvalue_references != 200610
|
||||
# error "__cpp_rvalue_references != 200610"
|
||||
#endif
|
||||
|
||||
#ifndef __cpp_variadic_templates
|
||||
|
|
Loading…
Reference in New Issue