Open upizpp opened 1 year ago
I have my include files in a separate folder, and added
"c-cpp-flylint.excludeFromWorkspacePaths": [
"include"
],
as a workaround, to avoid cppcheck getting passed the include files.
Not sure if it is ideal.
As far as I know, files with the extension of hpp should also belong to the type of Header file, rather than source code files with the extension of cpp. Therefore, I think using '# pragma once' in HPP files is allowed, but this extension gave me a warning.