diff options
author | Joseph Myers <jsm28@cam.ac.uk> | 2000-08-09 00:19:11 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2000-08-09 00:19:11 +0100 |
commit | 89abf8d1d713b8182c9cebfa7a5682155cc5e32c (patch) | |
tree | a807f38e5528f2f079acd1807b2141242e597933 /gcc/c-lex.c | |
parent | 1a63219b0df915269b6e1176f12ec2da3d98ff30 (diff) | |
download | gcc-89abf8d1d713b8182c9cebfa7a5682155cc5e32c.zip gcc-89abf8d1d713b8182c9cebfa7a5682155cc5e32c.tar.gz gcc-89abf8d1d713b8182c9cebfa7a5682155cc5e32c.tar.bz2 |
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
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r-- | gcc/c-lex.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c index e0137e3..9cbbc4d 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -1122,7 +1122,7 @@ parse_float (data) if (args->imag) error ("more than one `i' or `j' in numeric constant"); else if (pedantic) - pedwarn ("ANSI C forbids imaginary numeric constants"); + pedwarn ("ISO C forbids imaginary numeric constants"); args->imag = 1; break; @@ -1789,7 +1789,7 @@ yylex () error ("`Ll' and `lL' are not valid integer suffixes"); else if (pedantic && ! flag_isoc99 && ! in_system_header && warn_long_long) - pedwarn ("ANSI C forbids long long integer constants"); + pedwarn ("ISO C89 forbids long long integer constants"); spec_long_long = 1; } spec_long = c; @@ -1799,7 +1799,7 @@ yylex () if (spec_imag) error ("more than one `i' or `j' in numeric constant"); else if (pedantic) - pedwarn ("ANSI C forbids imaginary numeric constants"); + pedwarn ("ISO C forbids imaginary numeric constants"); spec_imag = 1; } else @@ -1914,7 +1914,7 @@ yylex () warning ("width of integer constant changes with -traditional"); else if (TREE_UNSIGNED (traditional_type) != TREE_UNSIGNED (ansi_type)) - warning ("integer constant is unsigned in ANSI C, signed with -traditional"); + warning ("integer constant is unsigned in ISO C, signed with -traditional"); else warning ("width of integer constant may change on other systems with -traditional"); } @@ -2018,7 +2018,7 @@ yylex () else if (c == '\n') { if (pedantic) - pedwarn ("ANSI C forbids newline in character constant"); + pedwarn ("ISO C forbids newline in character constant"); lineno++; } else @@ -2175,7 +2175,7 @@ yylex () else if (c == '\n') { if (pedantic) - pedwarn ("ANSI C forbids newline in string constant"); + pedwarn ("ISO C forbids newline in string constant"); lineno++; } else |