Closed leamas closed 7 years ago
hm... some, probably not all, dependencies
I agree we should fix the warnings. Really the approach I used there isn't great, but it looks like those warnings would be fixed by a C-style cast in each place. Just add "(THREAD_PTR)" to the left of the two QUIT_TRIGGERs and one SCAN_TRIGGER.
I'll make a TODO to change the inter-thread signalling more protocol sometime.
hm... "we"... :) I presume you do these fixes after merging, right?
EDIT if/when you do, I can make a rebuild to check if required.
Ha, yes I'll take care of it. I assume once I merge this patch we should build properly on Fedora, Debian, and FreeBDS?
Yup. It builds cleanly on Fedora 25, debian testing and FreeBSD 10.3
Done. I'll also check that cmake is still happy on Windows sometime soon and add conditionals as needed.
The missing --help for rescan was my bad, now fixed and a manpage generated.
This code builds on BSD, but is not tested. The compiler warningsn below looks valid and should IMHO be fixed.