https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102718
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Keywords| |build Last reconfirmed| |2021-10-13 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Make gengtype wrap the output in #ifndef GENGTYPE_DEFINED_<type> #define GENGTYPE_DEFINED_<type> ... #endif so any duplicate gets weed out by the preprocessor ;) gengtype is just a not very up to the task of GCC being written in C++ now ...