This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81677

--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
In C90, arrays of incomplete types are forbidden because incomplete types 
are not (before C11) object types.  See footnote 17 in subclause 6.1.2.5.  
In C99 this becomes a constraint in 6.7.5.2#1.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]