[Qt-creator] Generic Project Manager, code model and C++11
Alexander Drozdov
adrozdoff at gmail.com
Thu May 22 00:10:15 CEST 2014
Hi list!
Master napshots uses CXX11 by default for parser (Code Model Check confirm
it).
But, I found that directive __cplusplus defined as 199711L, it looks like
toolchain asked for predefined constants without -std=c++11 pass as
argument.
I found work-around: add next declaration to .config file:
#define __cplusplus 201103L
Now I can use std::chrono, std::thread, std::mutex without limitations.
--
WBR, Alexander Drozdov
http://htrd.su
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20140522/c8c68858/attachment.html>
More information about the Qt-creator
mailing list