Hi, We are currently seeing two cases of C++-related bootstrap failures on Darwin, due to C++ header <string> being included after “system.h” and “safe-ctype.h”: <string> headers, on Darwin, use ctype macros which GCC poisons through safe-ctype.h
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63703 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63750 This triggers in libcc1, and in the new ipa-chkp.c file. We can move the #include <string> line higher in the source files (as is already done, e.g., in go/go-system.h), but we probably need to think of a global solution, such as including basic C++ headers directly from the system.h header. I do not know enough about the state of our mixed C/C++ build to understand if that would work or create chaos, so I’m dropping a line here so that “awareness of this general issue is raised”, as they say rather pompously :) Cheers, FX PS: Ilya, I tried to CC you on the bugzilla PR 63750, but you’re not in the database.