[Bug c/77650] struct with a nested flexible array followed by another member accepted

qinzhao at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 11 20:33:21 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77650

--- Comment #11 from qinzhao at gcc dot gnu.org ---
(In reply to uecker from comment #10)
> Should this warning be added to -Wall ?

I think that's a good idea to add it to -Wall.
but I am not sure whether it's too early to do it? my understanding is that
there are still use cases in Linux Kernel that cannot be easily get rid of. But
I might be wrong.


More information about the Gcc-bugs mailing list