Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
Qt Creator 3.3.0
-
None
-
openSuse 13.1 x64, gcc 4.8.1, cmake 2.8.11
Description
It cannot highlight and complete new classes from standard library like shared_ptr or thread.
My project is based on CMake. It contains declaration of c+11 features: add_definitions(-std=c+11).
On the attached screenshot you can see that __cplusplus >= 201103L is not truth.
How i can specify c++11 in my CMake project right way?
I tried to add to my project "add_definitions(-D__cplusplus=201103L)" but with no luck.