Cmake --build build Error
7rwang opened this issue · comments
7rwang commented
When I use cmake --build build
I encountered some errors such as error:
no member named 'exchange' in namespace 'std'
ctr_(std::exchange(other.ctr_, 0)),
~~~~~^
I'm wondering whether the compiler default version matteres
Sergiu Deitsch commented
Aside from the incomplete log, latest glog requires a C++14 compliant compiler. Additionally, you need to take a look at the documentation that explains how to correctly integrate glog into own projects.
Sergiu Deitsch commented
I'm closing the issue since it is caused by incorrect usage of glog.