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

Clang code model produces false positive error for android build

    XMLWordPrintable

Details

    Description

      When using QtCreator for android build, it produces many semantic error annotations in editor.
      The same project works fine for other platforms, like mac or windows.

      It appears the clang code model does not set the necessary include paths for android build, like all the cxxstl includes (functional, among others)

      #include <functional>
      
      void foo()
      {
          std::function<void()> bar = foo;
      }
      

      Attachments

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

        Activity

          People

            yvvan Ivan Donchevskii
            steve.k.chiu Steve K. Chiu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes