c-decl.c (grokdeclarator): Remove outdated ??? note on invalid declaration of flexible array members.
* c-decl.c (grokdeclarator): Remove outdated ??? note on invalid declaration of flexible array members. From-SVN: r52772
This commit is contained in:
parent
07d81318b6
commit
45c42d7db5
@ -1,3 +1,8 @@
|
||||
2002-04-25 Eric Botcazou <ebotcazou@multimania.com>
|
||||
|
||||
* c-decl.c (grokdeclarator): Remove outdated ??? note
|
||||
on invalid declaration of flexible array members.
|
||||
|
||||
2002-04-25 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* doc/invoke.texi: Document -gdwarf{,-2} vs debug level.
|
||||
|
@ -4429,10 +4429,6 @@ grokdeclarator (declarator, declspecs, decl_context, initialized)
|
||||
}
|
||||
else if (decl_context == FIELD)
|
||||
{
|
||||
/* ??? Need to check somewhere that this is a structure
|
||||
and not a union, that this field is last, and that
|
||||
this structure has at least one other named member. */
|
||||
|
||||
if (pedantic && !flag_isoc99 && !in_system_header)
|
||||
pedwarn ("ISO C89 does not support flexible array members");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user