https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119590
--- Comment #8 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Alisdair Meredith from comment #7) > For a short term workaround adding `-D_Alignof=alignof` to your command > lines should work -- at least according to my quick testing. > > If gcc were to add `_Alignof` support in C++, For the macOS development branches (on my GH) I have added an option to support this clang extension (which defaults to 'on' for macOS targets) - whether there will be any appetite for accepting it 'upstream' remains to be seen. >we might still need that -D > hack in order to build the initial compiler --- but that assumes we do not > wait for Apple to update their SDK, if they believe that this is an issue > they are concerned about. If the initial/host bootstrap compiler is GCC, (necessary to support Ada or D) then yes; if that compiler is clang, then the extension should already be accepted.