TP: print maxthreads (for debugging mingw TP UT)
try to fix compile error:
cannot convert 'DWORD* {aka long unsigned int*}' to 'PDWORD_PTR {aka long long unsigned int*}'
give error when trying to compile as 64bit under mingw
print warning instead of silently resetting *_FLAGS:
- it doesn't work for cached vars (set(... CACHE ... FORCE) could work
- cleanup
addition to 0d9374abae0145c10486fabda07b508b63f9a721
fix #4469 no. 2
Merge pull request #112 from FLOZi/develop

4443 via lua only