https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81250
--- Comment #4 from Jon Grant <jg at jguk dot org> --- $ cppcheck --enable=all main.cpp Checking main.cpp... [main.cpp:12]: (style) Unused variable: unused_str [main.cpp:17]: (style) Unused variable: unused_var (information) Cppcheck cannot find all the include files (use --check-config for details)