projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d2ac65
)
(store_parm_decls): Use pedwarn for "promoted arg doesn't
author
Richard Stallman
<rms@gnu.org>
Mon, 29 Mar 1993 04:49:21 +0000
(
04:49
+0000)
committer
Richard Stallman
<rms@gnu.org>
Mon, 29 Mar 1993 04:49:21 +0000
(
04:49
+0000)
match prototype" warning.
From-SVN: r3908
gcc/c-decl.c
patch
|
blob
|
history
diff --git
a/gcc/c-decl.c
b/gcc/c-decl.c
index 8be399963a9392ad69c7399c58e96e471c3a552b..15232db6232d32c673b3c48c16c3a2a886cd9f14 100644
(file)
--- a/
gcc/c-decl.c
+++ b/
gcc/c-decl.c
@@
-6008,7
+6008,7
@@
store_parm_decls ()
#endif
if (pedantic)
{
-
warning
("promoted argument `%s' doesn't match prototype",
+
pedwarn
("promoted argument `%s' doesn't match prototype",
IDENTIFIER_POINTER (DECL_NAME (parm)));
warning_with_file_and_line
(current_function_prototype_file,