aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/decl.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index e7c259d..2344732 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 8958850..2431877 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -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)
{