mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-11 02:04:56 +08:00
* decl.c (grokdeclarator): Clarify diagnostic message.
From-SVN: r44852
This commit is contained in:
parent
2263345095
commit
a60af04ac8
@ -1,3 +1,7 @@
|
||||
2001-08-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
|
||||
|
||||
* decl.c (grokdeclarator): Clarify diagnostic message.
|
||||
|
||||
2001-08-13 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
|
||||
|
||||
* decl2.c (do_nonmember_using_decl): Replace using directive
|
||||
|
@ -11585,7 +11585,7 @@ friend declaration requires class-key, i.e. `friend %#T'",
|
||||
DECL_CONTEXT (decl) = ctype;
|
||||
if (staticp == 1)
|
||||
{
|
||||
cp_pedwarn ("static member `%D' re-declared as static", decl);
|
||||
cp_pedwarn ("`static' may not be used when defining (as opposed to declaring) a static data member");
|
||||
staticp = 0;
|
||||
RIDBIT_RESET (RID_STATIC, specbits);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user