FAQ / QTE (Quality Town for Embedded Grade)
yQTE02zTest Preparation Issues
QTE02_03 : Functional safety coverage, prepare command configuration file
yquestionz
I don't know what path to set for the "system-include-dir-list" option in the analysis.json file.
yAnswerz
The "system-include-dir-list" option sets the system include path.
Check the system include path of the compiler you are using and set it to the "system-include-dir-list" option.
The procedure for checking the system include path depends on the compiler used.
As an example, GCC allows you to run the command with specific options to see the system include path.
The deficit portion output by executing the following command is the system include path
$ g++ -x c++ -v -E /dev/null
(omission)
#include "..." search starts here:
#include <...>
search starts here:
/usr/include/c++/7
/usr/include/x86_64-linux-gnu/c++/7
/usr/include/c++/7/backward
/usr/lib/gcc/x86_64-linux-gnu/7/include
/usr/local/include
/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed
/usr/include/x86_64-linux-gnu
/usr/include
(omission)
Set the path in red to "system-include-dir-list".
Search for related support information.