將默認的Apple-LLVM替換爲從llvm.org下載的LLVM 5.0。 和編譯,Xcode中拋出一個錯誤:Xcode9似乎不支持3rd llvm編譯器?
clang-5.0: error: cannot specify -o when generating multiple output files
Xcode8是OK。
謝謝。
將默認的Apple-LLVM替換爲從llvm.org下載的LLVM 5.0。 和編譯,Xcode中拋出一個錯誤:Xcode9似乎不支持3rd llvm編譯器?
clang-5.0: error: cannot specify -o when generating multiple output files
Xcode8是OK。
謝謝。
這不是一個鏗鏘5.0只問題。我與自定義的Clang 3.9有同樣的問題。 的Xcode 9還引入了一個正常鏘不支持自定義參數:
The
-index-store-path
argument does not exist in Clang 5.0 and it gets discarded without any error message. The problem is that its argument, a folder, is not discarded, and Clang considers it as a source file. This leads to the following errors:
cannot specify -o when generating multiple output files
(this happens if a-o
argument is passed)error reading '<PATH>'
(this can be observed when running the "normalized" version of the clang command, generated via the -### flag)
來源:Facebook/infer: Remove unsupported index-store-path
argument from clang commands。
在基於鏘/ CMake的/我的Xcode工具鏈定製我使用wrapper around clang中,我只是切斷了這種說法和文件夾傳遞給它,一切工作正常。
好的,謝謝!我會盡快嘗試。 –
這是正在成爲流行的過程:https://reviews.llvm.org/D39050 – Jonas