[cfe-dev] Scan-build can not find .h files
凌欢
linghuan713 at 126.com
Mon Jul 22 06:16:35 PDT 2013
hi, all:
I found scan-build(Checker-275) can not find .h files sometimes when scan the iOS projects.
For example , inclosed rar file has four files.
1) DailyBuild.sh ,daily build script (without scan-build). and build.log is the log (execute successfully).
2) scan.sh , which is has scan-build ,for scan Clang bugs, and scan.log is the log(execute fail).
See the following error from scan.sh:
/Users/mqq/hudson/clang_QQNote_iphone/Source/QNWNSResponseProtocol.m:13:9: fatal error: 'SNSLib/JSON.h' file not found
#import <SNSLib/JSON.h>
^
1 error generated.
That is the scan-build can not find JSON.h file while the DailyBuild.sh can find for the same iPhone project.
So is the scan-build argument wrong ? Or some Xcode setting missing?
I think the current verison of the scan-build is not smart to search .h file.
Can anyone give me tips? Thanks.
BRs
Howard Ling
*****************************************************
E-mail: linghuan713 at 126.com
*****************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130722/b5dc25a0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scan-build.rar
Type: application/octet-stream
Size: 61404 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130722/b5dc25a0/attachment.obj>
More information about the cfe-dev
mailing list