【发布时间】:2017-02-07 05:13:26
【问题描述】:
我正在尝试在 OS X 下提交扫描。procedure I am following 在 32 位和 64 位 Linux 下运行良好,类似的过程在带有nmake 的 Winows 下运行良好。在 OS X 上 cov-build 失败:
$ CXXFLAGS="-DNDEBUG -g2 -O3" cov-build --dir cov-int make -j 2
Coverity Build Capture (64-bit) version 8.5.0.3 on Darwin 12.6.0 x86_64
Internal version numbers: db70178643 p-kent-push-26368.949
Platform info:
Sysname = Darwin
Release = 12.6.0
Machine = x86_64
[ERROR] This platform is not supported by Coverity.
[ERROR] See documentation for the list of supported platforms.
不同的 OS X 机器产生相同的错误:
$ CXXFLAGS="-DNDEBUG -g2 -O3" cov-build --dir cov-int make -j 2
Coverity Build Capture (64-bit) version 8.5.0.3 on Darwin 13.4.0 x86_64
Internal version numbers: db70178643 p-kent-push-26368.949
Platform info:
Sysname = Darwin
Release = 13.4.0
Machine = x86_64
[ERROR] This platform is not supported by Coverity.
[ERROR] See documentation for the list of supported platforms.
我找不到文档:
$ cov-build --help
Coverity Build Capture (64-bit) version 8.5.0.3 on Darwin 12.6.0 x86_64
Internal version numbers: db70178643 p-kent-push-26368.949
No help found for 'cov-build'
Coverity Data Sheet 表示支持 OS X,press release states OS X 10.8 is supported。
- AIX
- FreeBSD
- HP-UX
- Linux
- Mac OS X
- NetBSD
- 索拉里斯
- 窗口
为什么我会收到 [ERROR] This platform is not supported by Coverity,我该如何解决?
【问题讨论】:
-
这可能值得尝试
export COVERITY_UNSUPPORTED=1,虽然我已经有一段时间没有尝试过了。
标签: xcode macos static-analysis coverity