From 89abf8d1d713b8182c9cebfa7a5682155cc5e32c Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 9 Aug 2000 00:19:11 +0100 Subject: c-common.c (combine_strings, [...]): Refer to ISO C or ISO C89 instead of ANSI C. * c-common.c (combine_strings, check_format_info): Refer to ISO C or ISO C89 instead of ANSI C. * c-decl.c (grokdeclarator, xref_tag, finish_struct, build_enumerator, do_case): Likewise. * c-lex.c (parse_float, yylex): Likewise. * c-parse.in: Likewise. * c-typeck.c (common_type, build_array_ref, build_binary_op, build_unary_op, pedantic_lvalue_warning, build_conditional_expr, build_c_cast, convert_for_assignment, set_init_index, set_init_label, c_expand_start_case): Likewise. * toplev.c (documented_lang_options, display_help): Likewise. From-SVN: r35576 --- gcc/toplev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/toplev.c') diff --git a/gcc/toplev.c b/gcc/toplev.c index 96e431d..79f6ff7 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1135,7 +1135,7 @@ documented_lang_options[] = used here is to only describe those options which are not enabled by default. */ - { "-ansi", "Compile just for ANSI C" }, + { "-ansi", "Compile just for ISO C89" }, { "-fallow-single-precision", "Do not promote floats to double if using -traditional" }, { "-std= ", "Determine language standard"}, @@ -1236,7 +1236,7 @@ documented_lang_options[] = { "-Wno-unknown-pragmas", "" }, { "-Wstrict-prototypes", "Warn about non-prototyped function decls" }, { "-Wno-strict-prototypes", "" }, - { "-Wtraditional", "Warn about constructs whose meaning change in ANSI C"}, + { "-Wtraditional", "Warn about constructs whose meaning change in ISO C"}, { "-Wno-traditional", "" }, { "-Wtrigraphs", "Warn when trigraphs are encountered" }, { "-Wno-trigraphs", "" }, @@ -3741,7 +3741,7 @@ display_help () printf (_(" -O[number] Set optimisation level to [number]\n")); printf (_(" -Os Optimise for space rather than speed\n")); - printf (_(" -pedantic Issue warnings needed by strict compliance to ANSI C\n")); + printf (_(" -pedantic Issue warnings needed by strict compliance to ISO C\n")); printf (_(" -pedantic-errors Like -pedantic except that errors are produced\n")); printf (_(" -w Suppress warnings\n")); printf (_(" -W Enable extra warnings\n")); -- cgit v1.1