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

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes