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

Clang: 0:0: error: file 'somefile.hh' from the precompiled header has been overridden

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 4.6.1
    • Qt Creator 4.6.0-rc1, Qt Creator 4.6.0
    • C/C++/Obj-C++ Support
    • None

    Description

      When editing a header file, at some point the following message starts to appear at the top of the editor window:

      Warning: The code model could not parse an included file, which might lead to slow or incorrect code completion and highlighting, for example.

      0:0: error: file 'somefile.hh' from the precompiled header has been overridden

      This error has never happened to me in 4.5.0 or earlier versions. Not sure how to reproduce this exactly, but this happens quite frequently.

      Attachments

        Activity

          People

            kosjar Nikolai Kosjar
            dragonroot Konstantin Isakov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: