try to compile cgminer-0.0.5 from github, but have error when make :
cgminer.c: In function 'kill_mining':
cgminer.c:3398:23: error: invalid operands to binary != (have 'pthread_t' and 'long int')
if (thr && PTH(thr) != 0L)
^
cgminer.c:3402:11: error: invalid operands to binary && (have 'int' and 'pthread_t')
if (pth && *pth)
^
cgminer.c: In function 'api_thread':
cgminer.c:5249:13: error: incompatible types when assigning to type 'pthread_t' from type 'long int'
PTH(mythr) = 0L;
^
make[2]: *** [cgminer-cgminer.o] Error 1
make[2]: Leaving directory `/mingw/user/cgminer-0.0.5_decred'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mingw/user/cgminer-0.0.5_decred'
make: *** [all] Error 2
what is wrong ?
Was fixed in my pull, but my pull was rejected in favor of another - that one DIDN'T fix it. I wish they had at least cherry-picked that fix from mine.