Skip to content

hotfix/ analysis fails silently when cppcheck project file is used#90

Merged
davidramnero merged 1 commit into
mainfrom
fix/analysis-fails-silently-when-cppcheck-project-file-is-used
Jul 23, 2026
Merged

hotfix/ analysis fails silently when cppcheck project file is used#90
davidramnero merged 1 commit into
mainfrom
fix/analysis-fails-silently-when-cppcheck-project-file-is-used

Conversation

@davidramnero

@davidramnero davidramnero commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Warnings usually return locations for the warnings as complete paths to file (with line and col number). When using a .cppcheck project file however we only get the file names. This caused the analysis to fail silently as the location was assumed to be a full path and we tried to open the document using this path.

There should be a way of determining the path to the file in an unambiguous way, this is a hotfix which may not be the best solution. (At one point we have to guess if the file a warning refers to is the file being analyzed if they share name)

@davidramnero
davidramnero requested a review from danmar July 22, 2026 15:59
@davidramnero
davidramnero merged commit 27d9ed0 into main Jul 23, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants