Closed breznak closed 8 years ago
what is the cmd line you're using to compile? std::lock_guard is a c++11 feature. -std=c++11 is required for that
-std=c++11 is required for that
Yes, I do have that:
$ clang++-3.7 -std=c++11 -o sample_main SampleMain.cpp && ./sample_main
The #3 fixes that for me.
can you confirm with master if it still fails to compile?
@mohaps yes, the recent update & -lpthread
as per readme fixes the compilation. Thank you!
I'm closing this issue.
the error I'm getting,
Thank you very much for looking into it!