https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114007
--- Comment #5 from Iain Sandoe <iains at gcc dot gnu.org> --- perhaps this is also a clang regression - for Jakub's example with Xcode 15.1 : $ clang --version Apple clang version 15.0.0 (clang-1500.1.0.2.5) Target: x86_64-apple-darwin23.3.0 master-wip-short-queue mini-05-son:gcc-master iainsandoe$ clang t.c -std=c11 -fsyntax-only t.c:2:29: error: missing ')' after ':' #if __has_c_attribute (clang::unsafe_buffer_usage) ^ t.c:2:23: note: to match this '(' #if __has_c_attribute (clang::unsafe_buffer_usage) ^ t.c:5:5: error: function-like macro '__has_cpp_attribute' is not defined #if __has_cpp_attribute (clang::unsafe_buffer_usage) ^ 2 errors generated.