aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/c-tree.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h
index 6da62e4..2300351 100644
--- a/gcc/c-tree.h
+++ b/gcc/c-tree.h
@@ -429,6 +429,12 @@ extern int warn_nested_externs;
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;