decl.c (grokdeclarator): Fix a typo in a comment.
gcc/cp/ChangeLog: * decl.c (grokdeclarator): Fix a typo in a comment. This line, and those below, will be ignored-- M ChangeLog M decl.c From-SVN: r244912
This commit is contained in:
parent
dbe81dbe24
commit
9f35c9535f
|
@ -1,7 +1,6 @@
|
|||
2017-01-25 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR c++/71290
|
||||
* decl.c (grokdeclarator): Warn on flexible array members.
|
||||
* decl.c (grokdeclarator): Fix a typo in a comment.
|
||||
|
||||
2017-01-25 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
|
|
|
@ -11806,8 +11806,8 @@ grokdeclarator (const cp_declarator *declarator,
|
|||
{
|
||||
/* Array is a flexible member. */
|
||||
if (in_system_header_at (input_location))
|
||||
/* Do not warn flexible them in system headers because glibc
|
||||
uses them. */;
|
||||
/* Do not warn on flexible array members in system
|
||||
headers because glibc uses them. */;
|
||||
else if (name)
|
||||
pedwarn (input_location, OPT_Wpedantic,
|
||||
"ISO C++ forbids flexible array member %<%s%>", name);
|
||||
|
|
Loading…
Reference in New Issue