This is the mail archive of the gcc@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]

RE: Zero-length arrays


  Aren't they only allowed at the *end* of structs ?

That's what the documentation implies (though it's less clear that it
could be) but there's no code to check for it.

Note that zero-length arrays should be allowed anywhere, but everywhere but the
end they really *are* zero length and aren't extendable.

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