Compiling with Clang using Libc++ undefined references

前端 未结 3 1369
离开以前
离开以前 2020-12-14 16:11

The first couple are too long to reference. I get this error when I try to compile clang++ -stdlib=libc++ ../main.cc ... with clang and libc++ from the SVN.

3条回答
  •  眼角桃花
    2020-12-14 16:34

    This seems like you are using exception handling, but it isn't enabled in the compiler. Try passing -fexceptions to the commandline.

提交回复
热议问题