[Bug c/81677] Can't declare pointer to array of incomplete type in struct

2017-08-02 Thread chris.ol...@iti-global.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81677 --- Comment #7 from chris.ol...@iti-global.com --- I'm not arguing that arrays declarations should be allowed to derive from incomplete types, nor all pointers-to-array of incomplete type be allowed; I'm specifically arguing that a str

[Bug c/81677] Can't declare pointer to array of incomplete type in struct

2017-08-02 Thread chris.ol...@iti-global.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81677 --- Comment #4 from chris.ol...@iti-global.com --- (In reply to jos...@codesourcery.com from comment #3) > Because the type doesn't exist, I don't know what you mean by a type that "doesn't exist". A declared but un

[Bug c/81677] Can't declare pointer to array of incomplete type in struct

2017-08-02 Thread chris.ol...@iti-global.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81677 --- Comment #2 from chris.ol...@iti-global.com --- This isn't an array of incomplete type, but a pointer-to-array of incomplete type; not just any incomplete type, but struct that is guaranteed to be complete when the outermost } is encoun

[Bug c/81677] New: Can't declare pointer to array of incomplete type in struct

2017-08-02 Thread chris.ol...@iti-global.com
ormal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chris.ol...@iti-global.com Target Milestone: --- Created attachment 41898 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41898&action=edit test.c is the original source fil