Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile_commands.json compiler path misreads \\ path separator #4408

Open
03F001 opened this issue Dec 13, 2024 · 0 comments
Open

compile_commands.json compiler path misreads \\ path separator #4408

03F001 opened this issue Dec 13, 2024 · 0 comments

Comments

@03F001
Copy link

03F001 commented Dec 13, 2024

$ codechecker analyze ./compile_commands.json --enable sensitive --output ./codechecker
[ERROR 2024-12-13 09:29] - Binary X:x64-releasellvm19binclang++.exe not found
...

Correct path is X:\x64-release\llvm19\bin\clang++.exe. In compile_commands.json the path shows as X:\\x64-release\\llvm19\\bin\\clang++.exe. It is generated by CMake 3.30.3.

$ CodeChecker.exe version
[INFO 2024-12-13 09:39] - CodeChecker analyzer version:
---------------------------------------------------------------
Kind                 | Version
---------------------------------------------------------------
Base package version | 6.24.4
Package build date   | 2024-10-28T15:46
Git commit ID (hash) | 454d978191ed42c8202a2244dc092dfb6fd8c83a
Git tag information  | 6.24.4
---------------------------------------------------------------

[INFO 2024-12-13 09:39] - CodeChecker web version:
------------------------------------------------------------------------------
Kind                                | Version
------------------------------------------------------------------------------
Base package version                | 6.24.4
Package build date                  | 2024-10-28T15:46
Git commit ID (hash)                | 454d978191ed42c8202a2244dc092dfb6fd8c83a
Git tag information                 | 6.24.4
Server supported Thrift API version | 6.58
Client Thrift API version           | 6.58
------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants