I saw there were a bunch of threads regarding the same issue and that it was supposed to be fixed in 6.2, but it’s still not working for me.

Please let me know what data do you need (reproducer, logs).

Thanks!

INFO: [pool-103-thread-1] D:/xxx/Server/PFOutput/PFTextOutputSink.cpp
ERROR: Exception in thread pool-103-thread-1
java.lang.IllegalStateException: exit code != 0
at com.sonar.cpp.analyzer.Subprocess.execute(Subprocess.java:54)
at com.sonar.cpp.analyzer.Subprocess.execute(Subprocess.java:25)
at com.sonar.cpp.plugin.CFamilySensor.lambda$process$4(CFamilySensor.java:323)
at com.sonar.cpp.analyzer.AnalysisExecutor.lambda$submit$0(AnalysisExecutor.java:53)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

thank you for helping me to reproduce the issue, the issue comes from a failure of the engine in case of Microsoft __leave statement. I created a ticket: https://jira.sonarsource.com/browse/CPP-2201. It should get fixed for next release of the analyzer which is going to be 6.3.