summaryrefslogtreecommitdiff
path: root/gcc/cp/expr.c
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@codesourcery.com>2000-02-21 19:51:44 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2000-02-21 19:51:44 +0000
commitcb9a3ff816cd8da8efe463b4976652521fe9b396 (patch)
tree593ca2207cb7f69371dcd4e6f5019f48dcabc847 /gcc/cp/expr.c
parentc801c87c9d7cbf81ef3774aa6e90114947f54ace (diff)
downloadgcc-cb9a3ff816cd8da8efe463b4976652521fe9b396.tar.gz
call.c (build_object_call): Compress consecutive calls to cp_error.
2000-02-21 Gabriel Dos Reis <gdr@codesourcery.com> * call.c (build_object_call): Compress consecutive calls to cp_error. (build_conditional_expr): Say 'ISO C++' not 'ANSI C++'. (build_op_delete_call): Adjust message formatting. * class.c (check_bases): Compress consecutive calls to cp_pedwarn. (finish_struct_anon): Say 'ISO C++'. * decl.c (start_decl): Same here. (grok_reference_init): Likewise. (grokfndecl): Correct message formatting. (grokfndecl): Improve diagnostic. (check_static_variable_definition): Likewise. Say 'ISO C++' (compute_array_index_type): Say 'ISO C++' (create_array_type_for_decl): Compress consecutive calls to cp_error. (grokdeclarator): Say 'ISO C++' (grok_op_properties): Likewise. * decl2.c (delete_sanity): Clairify diagnostic. (check_member_template): Same here. (grok_function_init): Use consistent terminology. * expr.c (do_case): Say 'ISO C++' * friend.c (do_friend): Compress consecutive calls to warning. From-SVN: r32090
Diffstat (limited to 'gcc/cp/expr.c')
-rw-r--r--gcc/cp/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/expr.c b/gcc/cp/expr.c
index 1fcecff39aa..d11e232f6c7 100644
--- a/gcc/cp/expr.c
+++ b/gcc/cp/expr.c
@@ -290,7 +290,7 @@ do_case (start, end)
error ("pointers are not permitted as case values");
if (end && pedantic)
- pedwarn ("ANSI C++ forbids range expressions in switch statement");
+ pedwarn ("ISO C++ forbids range expressions in switch statement");
if (start)
value1 = check_cp_case_value (start);