【发布时间】:2014-05-15 13:24:05
【问题描述】:
我四处搜索,有很多帖子对 clang 有不同的论据,但我还没有看到与“-wall”相关的帖子 这是完整的堆栈:
clang: error: unknown argument: '-wall' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
** BUILD FAILED **
The following build commands failed:
ProcessPCH /var/folders/bt/x7t6pymn3vs_mykqfrpwhwgdgbmz8t/C/com.apple.DeveloperTools/5.1-5B130a/Xcode/5.1-5B130a/Xcode/SharedPrecompiledHeaders/MyAppName-Prefix-axoyogsqgxeawmhjfylnspfdgfkm/MyAppName-Prefix.pch.pch MyAppName/MyAppName-Prefix.pch normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
我正在运行最新的 Xcode 版本 5.1 (5B130a) 我最近没有更改代码库中的任何内容,但我相信 Xcode 几天前更新了。我在我拥有的其他项目中没有遇到过这种情况。
【问题讨论】:
标签: ios7 xcode5 clang osx-mavericks