https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71290
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-26 CC| |msebor at gcc dot gnu.org Known to work| |4.9.3, 5.3.0 Ever confirmed|0 |1 Known to fail| |6.1.0, 7.0 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- Confirmed (the warning disappeared because GCC's internal representation of flexible arrays has changed and is now different than that of zero length arrays). But since flexible array members are GCC's extension to C++ a pedantic warning is called for. Let me look into adding one.