Commit 42f00318 by Richard Stallman

(store_parm_decls): Use pedwarn for "promoted arg doesn't

match prototype" warning.

From-SVN: r3908
parent 5d2ac65e
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment