Fixes all format warnings and re-enables the warning messages.
replaces #1885
Compiling on my Mac with llvm-g++, I get one warning:
main.cpp: In function ‘bool ProcessMessages(CNode*)’: main.cpp:3075: warning: format ‘%zu’ expects type ‘size_t’, but argument 2 has type ‘ptrdiff_t’
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/4f8d9108b4d9a102aa1e1fd6fd916e339d6febc7 for binaries and test log.
This reverts commit 14ac0adcc7c0224a467e38bbd4ebf39d824ada8d.
Thanks, seems that we also need a separate format for "ptrdiff_t". Should be fixed now.