https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71742
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-07-06 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 Severity|normal |trivial --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- I was going to resolve this report as invalid on the basis that "empty struct" could be interpreted to mean struct with no named members (there is no definition of "empty struct" in C) but decided to confirm in the end because GCC documents Empty Structs as structures with no members and zero size: https://gcc.gnu.org/onlinedocs/gcc/Empty-Structures.html Rephrasing the error as flexible array member in a struct with no named members would avoid the contradiction.