clang “hello, world!” link errors in windows

前端 未结 5 2147
借酒劲吻你
借酒劲吻你 2021-02-14 03:40

I just downloaded the CLang sources, made a Visual C++ 10 IDE workspace by using CMake, and built everything from Visual C++ 10.0 (express).

Now I get a bunch of linker

5条回答
  •  深忆病人
    2021-02-14 04:03

    Clang/LLVM's supports for Windows are still not perfect. Try to include this option: -Xclang -cxx-abi -Xclang microsoft. But, I'm not sure whether it makes work correctly.

提交回复
热议问题