Adding an unsupported C/C++ compiler
Adding an unsupported C/C++ compilerkwinject fully supports many C/C++ compilers (see the list of supported compilers). If your compiler's exact name doesn't appear in the table, but you know it's one of the supported compiler types, you need to bind your compiler's name to the compiler type recognized by kwinject. Run kwinject with the --prog option. For example, if your compiler is gcc4 and you know this is a variant of GNU, run the following command:
Otherwise as of Klocwork 9.2, if your compiler is not supported, we no longer advise that you try to configure compiler support yourself. Instead, we are committed to providing this configuration for you for any C/C++ compiler that you need, with Python scripts (*_filter.py ). Note that these Python scripts are not meant to be edited. For Klocwork 9.2 or later, submit a ticket to Klocwork support with the compiler name and the exact version, along with a trace file from kwinject. We should be able to provide compiler configuration for you within a short period of time. Providing support could take longer if your compiler features a different dialect of C/C++ and requires modifications to Klocwork's compiler to avoid parse errors. Compiler attributes analyzed by KlocworkThe following table provides a list of compiler attributes supported by Klocwork issue analysis:
|