diff options
| author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-04-26 00:22:23 +0000 |
|---|---|---|
| committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-04-26 00:22:23 +0000 |
| commit | 600d7693d19461c3a86073302e198f2046f09f47 (patch) | |
| tree | 3976a00a089bc52ea55abdf7f82489e7e661f1dd /gcc/c-decl.c | |
| parent | 44722d67c66339ffe6a2724b8e31910b9f91cf9e (diff) | |
| download | ppe42-gcc-600d7693d19461c3a86073302e198f2046f09f47.tar.gz ppe42-gcc-600d7693d19461c3a86073302e198f2046f09f47.zip | |
* c-decl.c (grokdeclarator): Remove outdated ??? note
on invalid declaration of flexible array members.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52772 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-decl.c')
| -rw-r--r-- | gcc/c-decl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index fed2e5084df..9cef1874dc6 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -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"); |

