diff options
author | Richard Guenther <rguenther@suse.de> | 2005-10-20 08:07:46 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2005-10-20 08:07:46 +0000 |
commit | b501d4432bb86806def232246378db4d8814bc73 (patch) | |
tree | db1237f93bf2a7aefba0a1e0fd827485bdc20f71 /gcc | |
parent | 7058c3be1a95d1db756d59a0eded3447aadd060c (diff) | |
download | gcc-b501d4432bb86806def232246378db4d8814bc73.zip gcc-b501d4432bb86806def232246378db4d8814bc73.tar.gz gcc-b501d4432bb86806def232246378db4d8814bc73.tar.bz2 |
decl.c (grokdeclarator): Fix ambiguous pedwarn message.
2005-10-20 Richard Guenther <rguenther@suse.de>
* decl.c (grokdeclarator): Fix ambiguous pedwarn message.
From-SVN: r105662
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/decl.c | 2 |
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) { |