But is it really that -x c is wrong, or that it is calling c++? I think the question to resolve is whether it is proper to call a c++ compile to compile a C file, in general (across all compilers).