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

Clang Tidy uses C++98 settings

    XMLWordPrintable

Details

    • Windows
    • 5675169e564a1af0d4b47d4f1ee872e404cc2d17 (qt-creator/qt-creator/4.11)

    Description

      Clangtidy warns about incompatibilty with C++98, but the compiler is Visual Studio 2017 and code model also shows language version CXX14.

      Using CMake project and for example visible as an annotation at Q_OBJECT macro (nullptr is incompatible with C++98). All analyser settings at 'build in'.

      Attachments

        1. C98Error_Config.png
          C98Error_Config.png
          358 kB
        2. C98Error.png
          C98Error.png
          138 kB
        3. CMakeTest.zip
          2 kB
        4. image-2019-11-07-10-14-08-440.png
          image-2019-11-07-10-14-08-440.png
          499 kB
        5. image-2019-12-13-13-57-41-332.png
          image-2019-12-13-13-57-41-332.png
          10 kB
        6. image-2019-12-13-13-58-46-716.png
          image-2019-12-13-13-58-46-716.png
          6 kB
        7. no-c++98-compat.png
          no-c++98-compat.png
          12 kB
        8. screenshot-1.png
          screenshot-1.png
          41 kB

        Issue Links

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

          Activity

            People

              kosjar Nikolai Kosjar
              zerocom Stefan Sommerfeld
              Votes:
              4 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes