Comment Comment by JIghtuse Try to use CppCheck or LLVM's scan-build. They are pretty decent. I've been using them for a few weeks for now and I found quite a few errors and send patches to various open projects (Pidgin, util-linux, GHC). parent JIghtuse 12 years ago