https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94428
--- Comment #4 from qinzhao at gcc dot gnu.org --- a new warning -Wstrict-flex-arrays was added to gcc13. when using -Wstrict-flex-arrays -fstrict-flex-arrays=3 together, the new warning will report any misuse of zero-length arrays as flexible array members. I think this new warning could be a replacement of this -Wzero-length-array. therefore the warning -Wzero-length-array might not be needed anymore.