google / glog

C++ implementation of the Google logging module

Home Page:http://google.github.io/glog/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cmake --build build Error

7rwang opened this issue · comments

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

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.

I'm closing the issue since it is caused by incorrect usage of glog.