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

--- Comment #5 from NoƩ Lopez <noe.lopez at epitech dot eu> ---
(In reply to Andrew Pinski from comment #3)
> The code is invalid.
> If you change the first `FILE_MENU` to `{0, { fn }}`, you get an error
> message:
> 
> <source>:31:13: error: initialization of flexible array member in a nested
> context
>    31 |         {0, { fn }},
>       |             ^
> <source>:31:13: note: (near initialization for 'WINDOW_MENU.items[0].items')

Thank you for pointing that out :) I'm gonna fix my code now have a good day!

Reply via email to