I am running cppcheck 2.10 from the GUI
I would like to suppress all errors for all files: There is an unknown macro ...
This should be done through the Preferences Dialog
I added the path to afx.h in the Clang tab, but it did not help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am running cppcheck 2.10 from the GUI
I would like to suppress all errors for all files: There is an unknown macro ...
This should be done through the Preferences Dialog
I added the path to afx.h in the Clang tab, but it did not help
Create a project and run analysis.
Right click on a "There is an unknown macro" and select "suppress id".
When you analyse this project next time these errors will not be shown.
Go to "File menu". Click on "Edit project...".
Add the include path in the "Paths and defines" tab.