‘{anonymous}::ChainedIncludesSource* llvm::IntrusiveRefCntPtr<{anonymous}::ChainedIncludesSource>::Obj’ is private
T* Obj;
^
/var/tmp/notmpfs/portage/sys-devel/llvm-3.5.0/work/llvm-3.5.0.src/include/llvm/ADT/IntrusiveRefCntPtr.h:158:13: error: within this context
S.Obj = 0;
问题:GCC的版本太高了
建议将GCC降级到GCC 4.7/4.8/4.9(我采用了GCC4.8测试成功了)
参考链接: GCC降级.