> On Mar 27, 2023, at 12:48 PM, Qing Zhao via Gcc-patches > <gcc-patches@gcc.gnu.org> wrote: > > > >> On Mar 27, 2023, at 12:31 PM, Jakub Jelinek <ja...@redhat.com> wrote: >> >> On Mon, Mar 27, 2023 at 04:22:25PM +0000, Qing Zhao via Gcc-patches wrote: >>>> The latter IMHO. Having a warning with completely nonsensical name will >>>> just confuse users. >>> >>> Okay. -:) >>> How about "-Wstruct-with-fam-not-at-end”? Or do you have any suggestion on >>> the name? >> >> Nobody will know what fam is. > > Yes, I agree -:) > >> -Wflex-array-member-not-at-end ? > > However, Will this name include “a structure with flexible array member is > not at end”?
Looks like no better name than “-Wflex-array-member-not-at-end” as I can think of.. I will use this one. Let me know if you have any further comments on the documentation part. thanks. Qing > Qing > >> >> Jakub >> >