(store_parm_decls): Use pedwarn for "promoted arg doesn't
match prototype" warning. From-SVN: r3908
This commit is contained in:
parent
5d2ac65e2b
commit
42f00318ab
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user