aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-03-29 04:49:21 +0000
committerRichard Stallman <rms@gnu.org>1993-03-29 04:49:21 +0000
commit42f00318aba3341cfb48acf57c0d5d6718554344 (patch)
treeef9fcb07e3c76b700b439681809fc8cfa1b6fb3c /gcc
parent5d2ac65e2bc080b106e425fc6cd41877430d7712 (diff)
downloadgcc-42f00318aba3341cfb48acf57c0d5d6718554344.zip
gcc-42f00318aba3341cfb48acf57c0d5d6718554344.tar.gz
gcc-42f00318aba3341cfb48acf57c0d5d6718554344.tar.bz2
(store_parm_decls): Use pedwarn for "promoted arg doesn't
match prototype" warning. From-SVN: r3908
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 8be3999..15232db 100644
--- 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,