We are pleased to announce the SonarQube C++ Community Plugin version 2.1.3.
This is only a small enhancement and bugfix release, see previous V2.1.x for complete release notes.
SonarQube compability
- tested and released for SonarQube 9.9 LTS with Java 17 (other versions are not supported)
- see also SonarQube compatibility matrix
- tested and released for SonarQube 8.9 LTS with Java 11 (other versions are not supported)
- see also SonarQube compatibility matrix
- If you're running SonarQube 9.9 with Java 11 as scanner runtime environment, the latest compatible SonarScanner version is 4.8.x. Later SonarScanner versions require Java 17 as runtime environment.
- The plugin requires Java 11 or Java 17 on scanner side: install a Java version (e.g http://jdk.java.net/archive/) and update
JAVA_HOME
to point to the installation directory. - Installation Instructions
- Upgrade Instructions
Enhancements
- Cppcheck 2.15.0 support #2745
- C++23 support #2536
- C++23: attributte assume #2732
- C++23: deducing this #2729
- C++23: extend init-statement to allow alias-declaration #2734
- C++23: if consteval #2728
- C++23: lambda changes #2736
- C++23: multidimensional subscript operator #2733
- C++23: preprocessor extensions #2727
- C++23: Trimming whitespaces before line splicing #2749
- C++23: escape sequences #2744
- C++23: floating point suffixes #2743
- C++23: labels at the end of compound statements #2737
- C++23: literal suffix for (signed) size_t #2742
- C++23: meaningful exports #2738
- C++23: some more grammar changes #2740
Bugfixes
- JSON Compilation Database: support case sensitive filesystems #2725
- preprocessor: handle directory names not as filenames #2726
- improve handling of relative file paths in report files #2747
Thanks to @Nekto89 @kragens @baemhai @cmorve-te for their input and support.