[cfe-dev] clang -cxx-abi OR clang -Xclang -cxx-abi?

pravic ehysta at gmail.com
Thu Nov 8 03:44:38 PST 2012


Hi.

clang --help tells about -cxx-abi parameter, but it not works:

$ clang -cxx-abi microsoft foo.cpp
clang: warning: argument unused during compilation: '-cxx-abi microsoft'


Instead of it, you need to pass this option to CC1 directly:
$ clang -Xclang -cxx-abi -Xclang microsoft

But this is not equal with help. So how to fix?



More information about the cfe-dev mailing list