2014-07-21 22 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

謝謝!將嘗試一下。 –