https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117478
--- Comment #12 from Eli Schwartz <eschwartz93 at gmail dot com> --- (In reply to Sergey Fedorov from comment #11) > Do you mean that even with the correct flag passed, the code won’t compile > with gcc14? While I have gcc15 locally (not updating it weekly though), few > people will until it is officially released and adopted by downstream > distributions. No, I'm saying that projects that pass -ObjC won't ever compile with GCC 14 because GCC 14 won't gain support for -ObjC even if GCC 15 does. The solution is therefore to check whether it is possible to pass -ObjC before doing so (or use -x). Again, it's still an interesting idea to add -ObjC support to GCC 15.