https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108369
--- Comment #17 from anlauf at gcc dot gnu.org --- (In reply to Jerry DeLisle from comment #16) > Works using the correct compiler option. We probably should get rid of or > change the -x option or document it. Is there a way to warn the user that this is a deprecated option that will be removed in a future version? We could start issuing this warning immediately and finally remove it e.g. in gcc-14. At least we should stop mentioning this option in gcc/doc/invoke.texi, so that it does no longer appear in the documentation under "-x language".