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

Clang code model doesn't have C++11 enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 3.1.0-beta
    • None
    • Windows 7 (64 bit), Qt4

      The Clang code model doesn't detect that C+11 should be enabled in a Qt4 project that uses the MSVC 12 (Visual Studio 2013) toolchain. Therefore, valid C+11 constructs like brace initialization of objects and variadic templates are highlighted as invalid in the code.

        1. qtcreator_code_model1.png
          qtcreator_code_model1.png
          37 kB
        2. qt_creator_compiler1.png
          qt_creator_compiler1.png
          68 kB
        3. qt_creator_kit1.png
          qt_creator_kit1.png
          74 kB
        4. qt_creator_compiler_error1.png
          qt_creator_compiler_error1.png
          92 kB
        5. toolchains.xml
          9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            hunger Tobias Hunger
            xenakios Teemu Ontero
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes