The checking process will be stopped by this error, and cppcheck exit. Is this normal?
As you know, there also might be -I options in the commands of a compile_commands.json. So checking will not be completed if such a compile_commands.json is imported.
Is there any method to avoid such errors? Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
For example, I have below code in main.c:
With "cppcheck main.c -I /usr/include", there will be error:
The checking process will be stopped by this error, and cppcheck exit. Is this normal?
As you know, there also might be -I options in the commands of a compile_commands.json. So checking will not be completed if such a compile_commands.json is imported.
Is there any method to avoid such errors? Thanks!