Replies: 2 comments 1 reply
-
I haven't ever tried cppcheck under VisualStudio. This target is a utility I run regularly on Linux to help spot issues in the code base, it's not something I'd expect under end users to use. Do you have cppcheck installed? Is it something you want to use? |
Beta Was this translation helpful? Give feedback.
-
I have created an issue #1092 for this problem. I have recently started using Windows for some development but hadn't seen this issue, I presume because I don't have cppcheck installed. I presume the CMake macros for running cppcheck are doing something that's not quite portable. As a workaround I could possible put the cppcheck target within the maintainer block of build targets. |
Beta Was this translation helpful? Give feedback.
-
Hello,
There is error message when compile project cppcheck-vsg with windows10 and visual studio 2019.
cppcheck: error: could not find or open any of the paths given, how did you resolve it?
It looks like the paths "include/vsg//.h" and "vsg//.cpp" passed to cppcheck is not expected.
It can be resolved by list all files and pass them to cppcheck within my test.
Regards.
Beta Was this translation helpful? Give feedback.
All reactions