https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121386
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 62043 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62043&action=edit gcc16-pr121386.patch This builds for me on x86_64-linux and includes system.h before the flex emitted includes/defines. Though, only tested with a single flex version, so not sure what else it will break or fix.