Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-13992

Code completion for c++11 is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • Qt Creator 3.3.0
    • C/C++/Obj-C++ Support
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kosjar Nikolai Kosjar
            navrocky Vladislav Navrocky
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes