diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2002-08-01 06:20:46 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-08-01 06:20:46 +0000 |
commit | 4078b403a7dc806f4521f3600b524bed55309515 (patch) | |
tree | 95cf90c12538551f48b4627b824d1738b2af0986 /gcc/c-tree.h | |
parent | d8278e27fe53214e0750c886529d43a4fc468383 (diff) | |
download | gcc-4078b403a7dc806f4521f3600b524bed55309515.tar.gz |
c-common.c: Define all C/ObjC/C++ warning and flag variables.
* c-common.c: Define all C/ObjC/C++ warning and flag variables.
* c-common.h: Declare all C/ObjC/C++ warning and flag variables.
* c-decl.c: Move all warning and flag variables to c-common.c.
* c-format.c: Move all warning variables to c-common.c.
* c-tree.h: Move all warning and flag declarations to c-common.h.
* objc/objc-act.c: Move all warning variables to c-common.c.
(flag_warn_protocol): Rename warn_protocol.
cp:
* cp-tree.h: Move all warning and flag declarations to c-common.h.
* decl.c: Move all warning and flag variables to c-common.c.
* decl2.c: Move all warning and flag variables to c-common.c.
* lex.c (flag_digraphs): Remove.
(warn_traditional): Now in c-common.c.
From-SVN: r55923
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r-- | gcc/c-tree.h | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h index a2bf5424985..348619b763a 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -317,82 +317,10 @@ extern int current_function_returns_abnormally; extern int skip_evaluation; -/* Nonzero means `$' can be in an identifier. */ - -extern int dollars_in_ident; - -/* Nonzero means allow type mismatches in conditional expressions; - just make their values `void'. */ - -extern int flag_cond_mismatch; - -/* Nonzero means don't recognize the keyword `asm'. */ - -extern int flag_no_asm; - -/* Nonzero means warn about implicit declarations. */ - -extern int warn_implicit; - -/* Nonzero means warn for all old-style non-prototype function decls. */ - -extern int warn_strict_prototypes; - -/* Nonzero means warn about multiple (redundant) decls for the same single - variable or function. */ - -extern int warn_redundant_decls; - -/* Nonzero means warn about extern declarations of objects not at - file-scope level and about *all* declarations of functions (whether - extern or static) not at file-scope level. Note that we exclude - implicit function declarations. To get warnings about those, use - -Wimplicit. */ - -extern int warn_nested_externs; - -/* Nonzero means warn about pointer casts that can drop a type qualifier - from the pointer target type. */ - -extern int warn_cast_qual; - -/* Nonzero means warn when casting a function call to a type that does - not match the return type (e.g. (float)sqrt() or (anything*)malloc() - when there is no previous declaration of sqrt or malloc. */ - -extern int warn_bad_function_cast; - -/* Warn about traditional constructs whose meanings changed in ANSI C. */ - -extern int warn_traditional; - -/* Warn about a subscript that has type char. */ - -extern int warn_char_subscripts; - -/* Warn if main is suspicious. */ - -extern int warn_main; - -/* Warn if initializer is not completely bracketed. */ - -extern int warn_missing_braces; - -/* Warn about comparison of signed and unsigned values. */ - -extern int warn_sign_compare; - -/* Warn about testing equality of floating point numbers. */ - -extern int warn_float_equal; - /* Nonzero means we are reading code that came from a system header file. */ extern int system_header_p; -/* Warn about implicit declarations. 1 = warning, 2 = error. */ -extern int mesg_implicit_function_declaration; - /* In c-decl.c */ extern void c_finish_incomplete_decl PARAMS ((tree)); |