On 03/14/2016 05:30 PM, Florian Weimer wrote:
* Jason Merrill:
P08184R0: Generalizing the Range-Based For Loop
How can one resolve this reference? It's obviously not a PR number in
GCC Bugzilla.
I found this after some searching:
<http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0184r0.html>
But it lacks the additional “8”.
Oops, typo. Fixed, along with adjusting the feature-test macro.
commit 83c74d69d3cc41bc764d75d52effadd2802140ec
Author: Jason Merrill <ja...@redhat.com>
Date: Mon Mar 14 22:55:55 2016 -0400
* c-cppbuiltin.c (c_cpp_builtins): Bump __cpp_range_based_for.
diff --git a/gcc/c-family/c-cppbuiltin.c b/gcc/c-family/c-cppbuiltin.c
index 19999c7..dc1f426 100644
--- a/gcc/c-family/c-cppbuiltin.c
+++ b/gcc/c-family/c-cppbuiltin.c
@@ -871,7 +871,7 @@ c_cpp_builtins (cpp_reader *pfile)
cpp_define (pfile, "__cpp_namespace_attributes=201411");
cpp_define (pfile, "__cpp_enumerator_attributes=201411");
cpp_define (pfile, "__cpp_nested_namespace_definitions=201411");
- cpp_define (pfile, "__cpp_fold_expressions=201411");
+ cpp_define (pfile, "__cpp_fold_expressions=201603");
cpp_define (pfile, "__cpp_nontype_template_args=201411");
}
if (flag_concepts)