Support for COSMIC compiler(STM8)

Hi,
I am encountering an issue with SonarQube’s build wrapper while trying to analyze a project built using the Cosmic compiler for STM8. The build-wrapper-dump.json file is generated but the captures field is empty.

  • Build Wrapper: build-wrapper-win-x86-64

  • Operating System: Windows x64

  • Compiler: Cosmic Compiler for STM8

  • Command
    build-wrapper-win-x86-64.exe --out-dir bw-output “gmake -f makefile”

    I am using the gmake provided by ST Visual Develop.
    The build commands run successfully when executed outside the build wrapper.

  • Is the Cosmic compiler for STM8 officially supported by SonarQube?

  • Are there any specific configurations or workarounds required for using the Cosmic compiler with SonarQube?

Hey there.

The Cosmic compiler isn’t supported by the build wrapper, but as of SonarQube v10.6 you can use AutoConfig Mode to analyze code with compilers not supported by the build wrapper. Give it a try!