https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64883
--- Comment #4 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #3) > This looks like a bug in darwin's system headers which should be using > __noreturn__ not noreturn and __deprecated__ not deprecate, but I'll change > the test to avoid it. hmm .. so cdefs.h does indeed use __attribute__((no return)) and __attribute__((deprecated)). (although both are still valid by GCC documentation) What about a fixincludes? (not familiar with what level of stuff is feasible there).