[Qt-creator] Clang code model running in C++98 mode
Julius Bullinger
julius.bullinger at mvtec.com
Fri Dec 21 11:44:51 CET 2018
On 15.11.2018 16:33, Nikolai Kosjar wrote:
> On 11/15/18 3:55 PM, Julius Bullinger wrote:
>> We're still running MSVC 2013, which doesn't seem to be covered by this
>> exceptions. I tested opening the project with a MSVC 2017 Version 15.8
>> kit, and with that, the code model reports a C++ version of CXX17
>> (although it should be C++11)!
>>
>> So, I guess this is a bug in Creator regarding C++ version detection
>> with MSVC 2013?
>
> Looks like that, yes, please report.
>
> For some reason the code path that checks _MSC_VER fails or is never
> executed. Or there is a bug in the macro cache.
>
> Nikolai
I was able to reproduce the issue by opening the qtcreator project in Qt
Creator and configuring it with a MSVC2013 kit. Clang code model doesn't
seem to be happy with most of the lines. Therefore, I filed
QTCREATORBUG-21765.
Thank you for your help, Nikolai!
Regards,
Julius
More information about the Qt-creator
mailing list