hi ,all :
I used the checker-275 to scan my iOS projects. It reported the following errors:
clang: error: unknown warning option ‘-Wint-conversion’; did you mean ‘-Wsign-conversion’?clang: error: unknown warning option ‘-Wenum-conversion’; did you mean ‘-Wsign-conversion’?
Is it the bug for this checker ?
Inclosed file is the scan script and the scan log.
Can anyone tell me why the checker throw out the errors ?
scan.zip (138 KB)
scan.sh (952 Bytes)
This error is coming from the compiler - you are passing a warning flag that the compiler does not support. What version of the compiler are you using?
Also, I am curious if there is a reason why you tell scan-build to use an older version of clang to analyze your project with --use-analyzer? You could still potentially be using a different version of clang to compile and analyze. If you want them to be the same, use $clang_path.
Hope this helps,