decl.c (grokdeclarator): Fix typo in pedwarn text.
2016-06-13 Paolo Carlini <paolo.carlini@oracle.com> * decl.c (grokdeclarator): Fix typo in pedwarn text. From-SVN: r237354
This commit is contained in:
parent
5843a5f0a2
commit
f423253bd7
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2016-06-13 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
* decl.c (grokdeclarator): Fix typo in pedwarn text.
|
||||
|
||||
2016-06-10 Thomas Schwinge <thomas@codesourcery.com>
|
||||
|
||||
PR c/71381
|
||||
|
|
|
@ -11365,7 +11365,7 @@ grokdeclarator (const cp_declarator *declarator,
|
|||
{
|
||||
if (storage_class == sc_static)
|
||||
pedwarn (input_location, OPT_Wpedantic,
|
||||
"%<static%> specified invalid for function %qs "
|
||||
"%<static%> specifier invalid for function %qs "
|
||||
"declared out of global scope", name);
|
||||
else
|
||||
pedwarn (input_location, OPT_Wpedantic,
|
||||
|
|
Loading…
Add table
Reference in a new issue