-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
The “--buildmode none” not work for cpp in version 2.22.3
1. codeql version
CodeQL command-line toolchain release 2.22.3.
Copyright (C) 2019-2025 GitHub, Inc.
Unpacked in: D:\codeql\engine
Analysis results depend critically on separately distributed query and
extractor modules. To list modules that are visible to the toolchain,
use 'codeql resolve packs' and 'codeql resolve languages'.
2. codeql database create ./test-codeql -l c-cpp --build-mode none -s ./
Initializing database at D:\My Documents\src\test-codeql.
Running build command: []
Running command in D:\My Documents\src: [D:\codeql\engine\cpp\tools\autobuild.cmd]
[2025-08-13 14:44:13] [build-stderr] Extraction error: 'MsvcCompiler' object has no attribute 'clangpp'
[2025-08-13 14:44:13] [build-stdout] Generating compilation commands...
[2025-08-13 14:44:13] [build-stdout] Indexing folder D:\My Documents\src, found 48 source files, 134 header files, 245 total files.
[2025-08-13 14:44:13] [build-stdout] Scanning system directories
Finalizing database at D:\src\test-codeql.
CodeQL detected code written in C/C++ but could not process any of it using the 'none' build mode. Provide a manual build command using --command or check the logs. For more information, review our troubleshooting guide at https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build.
Even though I specified "--buildmode none", it still uses autobuild
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested