-
I'm trying to work through the quick start guide using the example code in the codechecker repo, but am running into issues when trying to run
Any thoughts on what the problem could be? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi, could you attach the |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
This
compile_commands.json.txt
contains compiler invocations that do both preprocessing and compilation. CodeCompass skips the build actions that are related to preprocessing. For example the usage of-MP
flag indicates that these build actions are controlling some preprocessing actions.However, the core problem is that you're probably using
make
>= 4.3 version duringCodeChecker log
command. This contains such a setting by default (see the release notes https://lists.gnu.org/archive/html/info-gnu/2020-01/msg00004.html):