diff options
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r-- | gcc/cp/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 93335c8..4c20757 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -19513,7 +19513,7 @@ cp_parser_simple_type_specifier (cp_parser* parser, else if (!flag_concepts) pedwarn (token->location, 0, "use of %<auto%> in parameter declaration " - "only available with %<-fconcepts-ts%>"); + "only available with %<-std=c++20%> or %<-fconcepts%>"); } else type = make_auto (); |