mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-19 15:11:08 +08:00
* method.c (synthesize_method): Add addtional arg to warning call.
From-SVN: r100511
This commit is contained in:
parent
d24959df23
commit
c449e20709
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user