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

code model requires normalized paths

    XMLWordPrintable

    Details

    • Commits:
      13bca02801536124c833b02ce199fd7013e288b4 (qt-creator/qt-creator/6.0)

      Description

      (gcc) compiler output may contain non-normalized paths, like:

      /home/tim/path/to/sources/./and/more.h:15:22: error: blub
      

      clicking on the compiler output opens the correct header, but with the warning "this file is not part of any project" and therefore the code model is not available. however this is not entirely true, as the header is part of the project with its normalized path:

      /home/tim/path/to/sources/and/more.h
      

      after opening the non-normalized version of `more.h`, the locator contains two file entries: one for the normalized version, one with the `/./` in path

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            timblechmann tim blechmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes