[LLVMbugs] [Bug 21966] error: fields must have a constant size: 'variable length array in structure' extension will never be supported

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Dec 18 20:23:52 PST 2014


Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |INVALID

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
C11 "A member of a structure or union may have any complete object
type other than a variably modified type."

C11 "If an identifier is declared as having a variably modified
type, it shall be an ordinary identifier."; 6.2.3/1 says members of structures
and unions are not ordinary identifiers.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141219/0beb8c87/attachment.html>

More information about the llvm-bugs mailing list