[cfe-dev] Empty result for Check-275

Anna Zaks ganna at apple.com
Wed Jun 26 10:12:42 PDT 2013


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?
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang --version

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,
Anna.
On Jun 25, 2013, at 4:08 AM, 凌欢 <linghuan713 at 126.com> wrote:

> 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 ?
> Thanks all.
> 
> BRs
> Howard Ling
> *****************************************************
>  
> E-mail:    linghuan713 at 126.com
>  
> *****************************************************
> 
> 
> <scan.zip><scan.sh>_______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130626/2fd03771/attachment.html>


More information about the cfe-dev mailing list