Scanner version is SonarQube Scanner 4.0.0.1744
Server version is sonarqube-developer-7.9.1
We’re trying to assess wether SonarQube supports the HPE NSK cross compiler for C/C++ projects (c89.exe) in connection with the SQL/MX precompiler (also c89.exe)
Running the scanner yiels a NullPointerException at at com.sonar.cpp.analyzer.StdFlags.fromCppMacros(StdFlags.java:23).
Any idea if this combination is supported? From previous threads it looks like the compiler might not be supported which ends in a NullPointerException.
I confirm that your compiler doesn’t comply with GCC cli interface, if you could build your project with one of the supported compilers (GCC, Clang, Microsoft CL, …) that would be great.
Thanks for the feedback. I suspected as much, but wanted to have it confirmed. Unfortunately I can’t use a different compiler as it uses custom enhancements from HP.