2005-10-20 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Oct 2005 08:07:46 +0000 (08:07 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Oct 2005 08:07:46 +0000 (08:07 +0000)
* decl.c (grokdeclarator): Fix ambiguous pedwarn message.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105662 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/decl.c

index e7c259d..2344732 100644 (file)
@@ -1,3 +1,7 @@
+2005-10-20  Richard Guenther  <rguenther@suse.de>
+
+       * decl.c (grokdeclarator): Fix ambiguous pedwarn message.
+
 2005-10-18  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
 
        PR c++/22293
index 8958850..2431877 100644 (file)
@@ -7570,7 +7570,7 @@ grokdeclarator (const cp_declarator *declarator,
        }
 
       if (ctype == current_class_type)
-       pedwarn ("extra qualification %<%T::%> on member %qs ignored",
+       pedwarn ("extra qualification %<%T::%> on member %qs",
                 ctype, name);
       else if (TREE_CODE (type) == FUNCTION_TYPE)
        {