https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69550
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #20 from Martin Sebor <msebor at gcc dot gnu.org> --- Thank you for the references to the other bugs. Having reviewed them, they each seem like a straightforward misuse of flexible array members in C++. Since each case is rejected in C mode, it is deliberately also rejected in C++ mode The bugs need to be fixed by either adding anothr member to the structs containing the flexible array, or by changing it to a zero-length array instead. I would expect implementing one of these two kinds of solutions to be possible without breaking binary compatibility. I'm resolving this request as WONTFIX. If other problems crop up where simple fixes aren't possible please either open a new bug or reopen this one.