I ran cppcheck on my project using two different approaches:
the first one creating a project directly from GUI
the second one running cppchech using following command:
cppcheck --enable=all --xml-version=2 --std=c11 "source_path" -I "include_path" 2>"cppcheck_file_name"
In the first case I get 40 issues in the second case I get 39 issues, an information related to a bug is lost, why?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can only guess. Maybe the settings are a bit different. For example the "platform" could be different, which can result in different issues that are reported.
Could you provide more details (e.g. OS where you run Cppcheck, Version of Cppcheck, which terminal has been used in the second case, what issue you is missing, ...)?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I ran cppcheck on my project using two different approaches:
the first one creating a project directly from GUI
the second one running cppchech using following command:
cppcheck --enable=all --xml-version=2 --std=c11 "source_path" -I "include_path" 2>"cppcheck_file_name"
In the first case I get 40 issues in the second case I get 39 issues, an information related to a bug is lost, why?
Thanks
I can only guess. Maybe the settings are a bit different. For example the "platform" could be different, which can result in different issues that are reported.
Could you provide more details (e.g. OS where you run Cppcheck, Version of Cppcheck, which terminal has been used in the second case, what issue you is missing, ...)?