https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89863
--- Comment #3 from David Binderman <dcb314 at hotmail dot com> --- --language=c++ seems to be required for C++ code. --force helps cppcheck to avoid a too-early finish. I use the current development cppcheck code, although it's fair to say that new features rarely work 100% perfectly first time and usually take a week or two before they mature on real code. But that's development code for you ;->