]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* method.c (synthesize_method): Add addtional arg to warning call.
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 2 Jun 2005 20:02:26 +0000 (20:02 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 2 Jun 2005 20:02:26 +0000 (20:02 +0000)
From-SVN: r100511

gcc/cp/ChangeLog
gcc/cp/method.c

index 22e08335d7fe5bdde649cb6533aa3a4581631dcb..8b687062ea79d1e50549dee2caec79782a93415e 100644 (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
index b64a31d3fd0a2bd9c70ffca1d074bd654eec5a37..ac85bf435d50ed178d65b5b8f9d9807afcecee04 100644 (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);
 }