Hi,

I am unable to perform a nonbootstrap build when gm2 is included, with Apple 
clang 15 as compiler. The error is due to incorrect inclusion of headers 
(<string> and <vector>) which are included after GCC’s system.h has been 
included, and macros like abort() are redefined or poisoned.

I think the correct idiom in GCC is to #define INCLUDE_STRING (for example) 
before “system.h” is included, rather than #include <string> directly. The 
attached patch fixes the issue.

Best,
FX

Attachment: gm2.diff
Description: Binary data

Reply via email to