Commit c449e207 by Nathan Sidwell Committed by Nathan Sidwell

* method.c (synthesize_method): Add addtional arg to warning call.

From-SVN: r100511
parent d24959df
2005-06-02 Nathan Sidwell <nathan@codesourcery.com>
* method.c (synthesize_method): Add addtional arg to warning call.
PR c++/21280
* Make-lang.in (method.o): Add diagnostic.h
* decl.c (start_preparsed_function): Use decl's location for file
......
......@@ -806,7 +806,7 @@ synthesize_method (tree fndecl)
pop_deferring_access_checks ();
if (error_count != errorcount || warning_count != warningcount)
warning ("%Hsynthesized method %qD first required here ",
warning (0, "%Hsynthesized method %qD first required here ",
&input_location, fndecl);
}
......
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