I am getting error error: ‘std::this_thread’ has not been declared when compiling with x86_64-w64-mingw32-g++ (GCC) 5.3.1 20160211
x86_64-w64-mingw32-gcc (GCC) 5.3.1 20160211 on ubuntu 16.04 xenial. Do I need to get diffrent package with chrono , threads support or it has to be added somehow or achieved with different configure options /cmake flags
...
void pqxx::internal::sleep_seconds(int s)
{
std::this_thread::sleep_for(std::chrono::seconds(s));
}
This issue was resolved by adding headers generation with mingw-std-threads