You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if we could have a suppressions-list per project, e.g. using $ProjectFileDir$ as shown above.
Actual behaviour
Only a single suppressions-file seems to be supported currently. We need to point to this file with an absolute file path.
Attempting to use macro $ProjectFileDir$ as shown above results in the following to appear in an error dialog:
ExecutionException: Cppcheck Error : Exit Code - 1 : "C:\Program Files\Cppcheck\cppcheck.exe" "--template=[{file}:{line}]: ({severity}) {id}: {message}" -IC:/Projects/src/work/<redacted>/src --enable=warning,performance,portability,style --language=c++ --suppressions-list=$ProjectFileDir$\.cppcheck-suppressions C:\Users\DANIEL~1\AppData\Local\Temp___xxxxx_processing_client.cc
Steps to reproduce the behaviour
Just configure the cppcheck options as shown above.
Any suggestions? Is there a workaround for this issue that would allow us to set up a suppressions file per project?
The text was updated successfully, but these errors were encountered:
Environment
cppcheck --version
): 2.1Expected behaviour
It would be nice if we could have a suppressions-list per project, e.g. using$ProjectFileDir$ as shown above.
Actual behaviour
Only a single suppressions-file seems to be supported currently. We need to point to this file with an absolute file path.
Attempting to use macro$ProjectFileDir$ as shown above results in the following to appear in an error dialog:
ExecutionException: Cppcheck Error : Exit Code - 1 : "C:\Program Files\Cppcheck\cppcheck.exe" "--template=[{file}:{line}]: ({severity}) {id}: {message}" -IC:/Projects/src/work/<redacted>/src --enable=warning,performance,portability,style --language=c++ --suppressions-list=$ProjectFileDir$\.cppcheck-suppressions C:\Users\DANIEL~1\AppData\Local\Temp___xxxxx_processing_client.cc
Steps to reproduce the behaviour
Just configure the cppcheck options as shown above.
Any suggestions? Is there a workaround for this issue that would allow us to set up a suppressions file per project?
The text was updated successfully, but these errors were encountered: