Running cppcheck as
cppcheck.exe --enable=all --xml-version=2 2> out.xml folder\subfolder
And for some subfolders(3 out of 5) got error
error: could not find or open any of the paths given.
If I rename the folder still same error. And when I run
cppcheck.exe --enable=all --xml-version=2 2> out.xml folder
Those subfolders aren't checked as well, only 2 subfolders form this folder are checked. What could be the problem?
UPDATE: I haven't noticed that beore, but it seems that folders cppcheck don't see contains only .h/.hpp files, no .cpp UPD: I do can check exact file from that subfolder
cppcheck.exe --enable=all --xml-version=2 2> out.xml folder\subfolder\file.cpp
Strange..
If I navigate to that subfolder and run cppcheck from there if I didn't specify exact file I still got same error: could not find or open any of the paths given.
UPD2: I haven't noticed it before, folders cppcheck don't see contains only header files