I am using codelite v5.0.6013 and trying to synchronize multiple threads that are modifying a common set of data hanging off a linked list.
When I add the line "#include <thread>, there is a warning message as shown below:
This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
Seemed straightforward enough so...
Since I'm using g++, I placed the flag "-std=c++11" in the settings->build_settings->compiler and linker options.
However, those options showed no effect on subsequent builds.
So my question is:
Thanks and best regards,How to I enable the c++11 options?
JD