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
{{ message }}
Repository navigation
Include paths and defines are still not passed to cppcheck with 1.2.4 (CDT project using a language settings provider) #35
Settings: "Follow user-defined includes", "Follow system-defined includes",
"Include CDT User-Defined Symbols" and "Include CDT System-Defined Symbols" are checked.
Expected: cppcheck gets -I and -D from the project's include paths and macros.
Actual: no -I and no -D are passed. The plugin's findings are identical
(same 31 findings, same lines) to a plain command-line run without any -I or -D.
Command line from the plugin console:
Possible cause: ToolchainSettings reads ICLanguageSetting.getSettingEntries()
from the root folder of the active configuration. In this project the entries
come from language settings providers, which that call may not return.
LanguageSettingsManager / ILanguageSettingsProvidersKeeper might be needed.
Activity