SonarScanner fails after updating Visual C++ to 17.9.1

Hi @aurelienlupin, and welcome to the community.

If I understand correctly, you are using CMake to generate your compile_commands.json file. Unfortunately, we don’t support unexpanded response files when reading compilation commands at the moment, see [CPP-3572] - Jira.

You can instruct CMake to avoid generating response files by setting the following variables in your CMakeLists.txt file, and then regenerate the compilation database.

set(CMAKE_CXX_USE_RESPONSE_FILE_FOR_INCLUDES 0)
set(CMAKE_C_USE_RESPONSE_FILE_FOR_INCLUDES 0)

Let us know if this doesn’t fix your problem.

Best regards,
Michael