diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2008-08-20 13:35:00 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2008-08-20 13:35:00 +0000 |
commit | 1f5b386928e265df8d8652bf9fe333801cabc145 (patch) | |
tree | 7eba1faebbcca911b3f8e3ac46a9d340e8b72ad9 /gcc/cp/method.c | |
parent | f4857d6e2ad2a7e1f1f002ee551676d46b2eeac2 (diff) | |
download | gcc-1f5b386928e265df8d8652bf9fe333801cabc145.tar.gz |
diagnostic.c (inform): Add an explicit location_t parameter.
2008-08-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* diagnostic.c (inform): Add an explicit location_t parameter.
* toplev.h (inform): Update declaration.
* builtins.c: Update all calls to inform.
* c-common.c: Likewise.
* c-decl.c: Likewise.
* c-opts.c: Likewise.
* c-pch.c: Likewise.
* c-pragma.c: Likewise.
* c-typeck.c: Likewise.
* coverage.c: Likewise.
* opts.c: Likewise.
* toplev.c: Likewise.
* tree-cfg.c: Likewise.
* tree-ssa.c: Likewise.
cp/
* parser.c: Update all calls to inform.
* typeck.c: Likewise.
* init.c: Likewise.
* class.c: Likewise.
* call.c: Likewise.
* method.c: Likewise.
* friend.c: Likewise.
* typeck2.c: Likewise.
* pt.c: Likewise.
* name-lookup.c: Likewise.
* lex.c: Likewise.
From-SVN: r139293
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r-- | gcc/cp/method.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c index b215d2a3936..5b4c273dda9 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -813,8 +813,8 @@ synthesize_method (tree fndecl) pop_deferring_access_checks (); if (error_count != errorcount || warning_count != warningcount) - inform ("%Hsynthesized method %qD first required here ", - &input_location, fndecl); + inform (input_location, "synthesized method %qD first required here ", + fndecl); } /* Use EXTRACTOR to locate the relevant function called for each base & |