Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1719

Bug with Ccache+clang+pch combination

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 1.24
    • None
    • Ubuntu clang version 11.0.0-2~ubuntu20.04.1
      Target: x86_64-pc-linux-gnu
      Thread model: posix
      InstalledDir: /usr/bin
      qbs --version
      1.24.0
    • Linux/X11

    Description

      My question is about using Qbs together with ccache, precompiled headers and Clang. It is kind of works, but I started to get error: file 'stable.h' has been modified since the precompiled header 'VMiscLib_cpp.gch' was built: mtime changed note: please rebuild precompiled header 'VMiscLib_cpp.gch'.

      Here, I have modified one of examples from Qbs's repo. And successfully was able to reproduce the issue. First I renamed HelloWorld-Qt_cpp.gch to HelloWorld-Qt_cpp.gch2 and returned original name. Then added int a = 1; to man.cpp to force rebuild.

      Attachments

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

        Activity

          People

            arch Ivan Komissarov
            arch Ivan Komissarov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes