2014-07-21 18 views
0

我正在尝试生成OCLint报告。声明失败:(SourceMgr &&“SourceManager未设置!”)与oclint-json-compilation-database

当我尝试执行命令“oclint JSON的编译数据库--debug”我收到以下错误: -

编译/Users/tavant/Desktop/TestJenkinsCI/TestJenkinsCI/AppDelegate.m**断言失败:(SourceMgr & &“SourceManager not set!”),function getSourceManager,file /Users/lqi/.jenkins/workspace/oclint-ci/oclint-build-nodes/master/oclint/llvm/tools/clang/include /clang/Basic/Diagnostic.h,第384行。**

我正在使用oclint 0.9(最新版本)。

回答

0

我和你有同样的问题。我改为0.8稳定版本,然后一切都安然无恙。

+0

谢谢!将尝试一下。 –