Finally this issue is linked to this one:
https://community.sonarsource.com/t/parse-error-in-header-file-with-build-wrapper/3134
I was not aware that SonarLint is fully integrated to CDT.
Is there some documentation that explain what you tell me in your answer ?
Thanks