LUX-Core / rx2-cpuminer

rx2 cpu miner
Other
7 stars 5 forks source link

error: no matching function for call to ‘pthread_mutex_t::pthread_mutex_t(size_t)’ #11

Open Artiom-M opened 3 years ago

Artiom-M commented 3 years ago

Using build.sh the I am getting this compile error:

algo/rx2_algo.cpp:49:63: error: no matching function for call to ‘pthread_mutex_t::pthread_mutex_t(size_t)’
   49 | #define PTHREAD_MUTEX_INITIALIZER ((pthread_mutex_t)(size_t) -1)