Thanks for this patch. I am not knowledgeable enough in this area to give a LGTM, but personally I like this approach. I always thought that GCC was too permissive in general when it came to using zero-length arrays. I agree that we should allow declaring a zero-length array as the sole element of a structure. I am not sure if it makes sense to have a zero-length array in a union.
-Andrea http://reviews.llvm.org/D5478 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
