libc++ - stop std renaming to std::__1?

前端 未结 1 909
春和景丽
春和景丽 2020-12-11 02:37

After substantial effort getting clang and libc++ to compile, run, integrate with NetBeans, and even cross-compile to a 32-bit machine, I thought I had it all figured out! S

相关标签:
1条回答
  • 2020-12-11 03:25

    From the comments:

    araqnid: Your NetBeans invocation doesn't have -std=c++0x, is it not needed? std::map::emplace is a C++11 method.

    DigitalMan (OP): @araqnid That actually did it! Clang complained about that argument being unused - and still does, in fact, even when it's used and required - so I had taken it out of the NetBeans configuration. A faulty warning is better than a complete error, certainly.

    0 讨论(0)
提交回复
热议问题