https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88623
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |build --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So GCC is written in C++ but has the .c extension because the files were not moved to a new extension. There is nothing to fix here. Yes some compilers have to use an extra option to be able to compile GCC that is ok. Ok, it looks like GCC and clang might be the one of the few C++ compiler which defines __STDC__ and the code just works. Can you attach the exact patch as there are two places where __STDC__ is used even? Also was there any other error messages?