https://bugs.llvm.org/show_bug.cgi?id=32944
Bug ID: 32944
Summary: automatically rebuild pcm when modulemap was modified
Product: clang
Version: 4.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Modules
Assignee: unassignedclangb...@nondot.org
Reporter: m...@milianw.de
CC: dgre...@apple.com, llvm-bugs@lists.llvm.org
I started to play around with modules and ran into the following error:
fatal error: file
'/home/milian/projects/compiled/kf5/include/KF5/KDBusAddons/module.modulemap'
has been modified since the module file
'/tmp/org.llvm.clang.milian/ModuleCache/1R4DPWZPQLPIB/QtCore-2B4VMXDD7IFGQ.pcm'
was built
note: please rebuild precompiled header
'/tmp/org.llvm.clang.milian/ModuleCache/1R4DPWZPQLPIB/QtCore-2B4VMXDD7IFGQ.pcm'
Note that the KDBusAddons module depends on the QtCore module here. Right now
I'm failing to find an easy way to reproduce this issue - I work-arounded it by
pruning /tmp/org.llvm.clang.milian in the meantime.
In general, couldn't the above scenario be handled more gracefully by
implicitly rebuilding the precompiled header? I.e. why is manual
user-intervention required here?
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs