https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118403
Xi Ruoyao <xry111 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xry111 at gcc dot gnu.org --- Comment #6 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- (In reply to Stephen Hemminger from comment #5) > (In reply to Andrew Pinski from comment #2) > > (In reply to Andrew Pinski from comment #1) > > > Using `{}` is the correct fix. The referenced part of the C standard here > > > is > > > applying to struct and not unions. > > > > Oh the big reason is GCC switched to defaulting to C23. > > > > Can you attach the preprocessed source with the exact command line used? > > A little difficult with meson build, let me see Just remove the .o file and run "ninja -v" which will show you the command, then run the command but replace "-c -o <filename>.o" with "-E -o <filename>.i" and you'll get the preprocessed source.