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

From-SVN: r100511
This commit is contained in:
Nathan Sidwell 2005-06-02 20:02:26 +00:00 committed by Nathan Sidwell
parent d24959df23
commit c449e20709
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
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

View 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);
}