Try   HackMD

Build the newest version of cppcheck

  1. Clone cppcheck from github
git clone https://github.com/danmar/cppcheck.git
cd cppchecks
  1. Checkout stable version tag

i.e 2.10 version

git checkout 2.10

git log --oneline
74221fbc8 (HEAD, tag: 2.10) 2.10: Updated Makefile
e0bdda002 2.10: Set versions
  1. Complie cppcheck
make MATCHCOMPILER=yes FILESDIR=/usr/share/cppcheck HAVE_RULES=yes CXXFLAGS="-O2 -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function"

strip cppcheck
./cppcheck --version
Cppcheck 2.10