┌──────────────────────┬─────────────────────────────┐ │Flag                  │ Meaning                     │ ├──────────────────────┼─────────────────────────────┤ │--enable=<id>         │ Enable additional checks.   │ │                      │ The available ids are: all, │ │                      │ warning, style,             │ │                      │ performance, portability,   │ │                      │ information,                │ │                      │ unusedFunction,             │ │                      │ missingInclude              │ ├──────────────────────┼─────────────────────────────┤ │--std=<id>            │ Set standard. The available │ │                      │ options are: c89, c99, c11, │ │                      │ c++03, c++11, c++14, c++17, │ │                      │ c++20 (default)             │ ├──────────────────────┼─────────────────────────────┤ │--language=<language> │ Forces Cppcheck to check    │ │                      │ all files as the given      │ │                      │ language. Valid values are: │ │                      │ c, c++                      │ ├──────────────────────┼─────────────────────────────┤ │--inline-suppr        │ Enable inline suppressions. │ │                      │ Use them by placing one or  │ │                      │ more comments, like: //     │ │                      │ cppcheck-suppress warningId │ │                      │ on the lines before the     │ │                      │ warning to suppress         │ │                      │ (enabled by default if no   │ │                      │ extra flags specified).     │ ├──────────────────────┼─────────────────────────────┤ │--suppress=<spec>     │ Suppress warnings that      │ │                      │ match <spec>. The format of │ │                      │ <spec> is: [error           │ │                      │ id]:[filename]:[line]       │ ├──────────────────────┼─────────────────────────────┤ │--platform=<type>     │ Specifies platform-specific │ │                      │ types and sizes. The        │ │                      │ available built-in          │ │                      │ platforms are: unix32,      │ │                      │ unix64, win32A, win32W,     │ │                      │ win64, avr8, native,        │ │                      │ unspecified (default)       │ ├──────────────────────┼─────────────────────────────┤ │--inconclusive        │ Allow reporting defects     │ │                      │ even though the analysis is │ │                      │ inconclusive.               │ ├──────────────────────┼─────────────────────────────┤ │-D<ID>                │ Define a preprocessor       │ │                      │ symbol. Example: -DDEBUG=1  │ ├──────────────────────┼─────────────────────────────┤ │-U<ID>                │ Undefine preprocessor       │ │                      │ symbol. Use -U to           │ │                      │ explicitly hide certain     │ │                      │ #ifdef <ID> code paths from │ │                      │ checking. Example: -UDEBUG  │ ├──────────────────────┼─────────────────────────────┤ │-I <dir>              │ Give a path to search for   │ │                      │ include files. Give several │ │                      │ -I parameters to give       │ │                      │ several paths.              │ ├──────────────────────┼─────────────────────────────┤ │-j <jobs>             │ Start <jobs> threads to do  │ │                      │ the checking                │ │                      │ simultaneously.             │ └──────────────────────┴─────────────────────────────┘