It is a bug in Qt Creator on Windows, will be fixed in 4.11.1:

https://bugreports.qt.io/browse/QTCREATORBUG-23118

Br, Eike

> On 20. Jan 2020, at 07:31, Cornelis Bockemühl <corne...@bockemuehl.ch> wrote:
> 
> Since I updated to version 4.11, the editor in QtCreator constantly gives me 
> syntax warnings about features that are from C++11, telling me that they are 
> not compatible with C++98. Well yes, I know that, and also the compiler knows 
> it (compiler from Visual Studio 2015 on Windows 10, however MS is numbering 
> it...), so no real errors, but a flood of annoying warnings!
> 
> Of course I could turn all this syntax checking off, but I learned before 
> that it can be useful - but certainly not if most of the messages are false 
> alarm.
> 
> Maybe there would be a way to tell QtCreator that I am using C++11 indeed, 
> but neither writing it into the CMakeLists.txt did help, nor did I find a 
> location in the "kit" settings where I could do it, so my question is: Where 
> is the little switch that brings me to supporting the correct C++ standard?
> 
> Thanks and regards,
> Cornelis
>   _______________________________________________
> Qt-creator mailing list
> Qt-creator@qt-project.org
> https://lists.qt-project.org/listinfo/qt-creator

-- 
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Erich-Thilo-Straße 10
D-12489 Berlin
eike.zil...@qt.io
http://qt.io
Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 
144331 B

_______________________________________________
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator

Reply via email to