try: $ cppcheck -f --enable=warning,performance,portability -j4 . 2> err.txt there are still some left, see: see https://github.com/jcupitt/libvips/issues/331
see https://github.com/jcupitt/libvips/issues/290 thanks huskier added a write-to-buffer example as well