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
This commit is contained in:
parent
7058c3be1a
commit
b501d4432b
|
@ -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>
|
2005-10-18 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
|
||||||
|
|
||||||
PR c++/22293
|
PR c++/22293
|
||||||
|
|
|
@ -7570,7 +7570,7 @@ grokdeclarator (const cp_declarator *declarator,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ctype == current_class_type)
|
if (ctype == current_class_type)
|
||||||
pedwarn ("extra qualification %<%T::%> on member %qs ignored",
|
pedwarn ("extra qualification %<%T::%> on member %qs",
|
||||||
ctype, name);
|
ctype, name);
|
||||||
else if (TREE_CODE (type) == FUNCTION_TYPE)
|
else if (TREE_CODE (type) == FUNCTION_TYPE)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue