projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
796bb37
)
Declare warn_bad_function_cast.
author
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 24 Jun 1994 20:18:25 +0000
(16:18 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 24 Jun 1994 20:18:25 +0000
(16:18 -0400)
From-SVN: r7563
gcc/c-tree.h
patch
|
blob
|
history
diff --git
a/gcc/c-tree.h
b/gcc/c-tree.h
index
6da62e4
..
2300351
100644
(file)
--- 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;