* c-cppbuiltin.c (c_cpp_builtins): Correct __cpp_inheriting_constructors.
From-SVN: r241830
This commit is contained in:
parent
d3d3f1afce
commit
b302001e3a
@ -1,3 +1,8 @@
|
||||
2016-11-03 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* c-cppbuiltin.c (c_cpp_builtins): Correct
|
||||
__cpp_inheriting_constructors.
|
||||
|
||||
2016-11-01 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* c-cppbuiltin.c (c_cpp_builtins): Update
|
||||
|
@ -907,7 +907,7 @@ c_cpp_builtins (cpp_reader *pfile)
|
||||
if (!flag_new_inheriting_ctors)
|
||||
cpp_define (pfile, "__cpp_inheriting_constructors=200802");
|
||||
else
|
||||
cpp_define (pfile, "__cpp_inheriting_constructors=201606");
|
||||
cpp_define (pfile, "__cpp_inheriting_constructors=201511");
|
||||
cpp_define (pfile, "__cpp_ref_qualifiers=200710");
|
||||
cpp_define (pfile, "__cpp_alias_templates=200704");
|
||||
}
|
||||
|
@ -109,8 +109,8 @@
|
||||
|
||||
#ifndef __cpp_inheriting_constructors
|
||||
# error "__cpp_inheriting_constructors"
|
||||
#elif __cpp_inheriting_constructors!= 201606
|
||||
# error "__cpp_inheriting_constructors != 201606"
|
||||
#elif __cpp_inheriting_constructors!= 201511
|
||||
# error "__cpp_inheriting_constructors != 201511"
|
||||
#endif
|
||||
|
||||
#ifndef __cpp_ref_qualifiers
|
||||
|
@ -102,8 +102,8 @@
|
||||
|
||||
#ifndef __cpp_inheriting_constructors
|
||||
# error "__cpp_inheriting_constructors"
|
||||
#elif __cpp_inheriting_constructors!= 201606
|
||||
# error "__cpp_inheriting_constructors != 201606"
|
||||
#elif __cpp_inheriting_constructors!= 201511
|
||||
# error "__cpp_inheriting_constructors != 201511"
|
||||
#endif
|
||||
|
||||
#ifndef __cpp_ref_qualifiers
|
||||
|
@ -90,8 +90,8 @@
|
||||
|
||||
#ifndef __cpp_inheriting_constructors
|
||||
# error "__cpp_inheriting_constructors"
|
||||
#elif __cpp_inheriting_constructors!= 201606
|
||||
# error "__cpp_inheriting_constructors != 201606"
|
||||
#elif __cpp_inheriting_constructors!= 201511
|
||||
# error "__cpp_inheriting_constructors != 201511"
|
||||
#endif
|
||||
|
||||
#ifndef __cpp_ref_qualifiers
|
||||
|
Loading…
x
Reference in New Issue
Block a user