[cfe-dev] Scan-build can't find .h file from dependencies Project

Jordan Rose jordan_rose at apple.com
Fri Oct 11 09:36:43 PDT 2013

(resending to cfe-dev without attachments)

I don't see anything obviously different here, but perhaps your two configurations have different settings?

I don't think this will be easily resolved over e-mail, so perhaps file a Radar and attach the project that reproduces the problem. (Radar, not Bugzilla, because this could just as easily have to do with Xcode as with scan-build.)


On Oct 10, 2013, at 19:30 , 凌欢 <linghuan713 at 126.com> wrote:

> hi all:
> I used clang checker-275 scan iPhone project which depend another project , the following error found:
> /Users/mqq/clang_QQCamera_iphone/QQPicShow/PSAppDelegate.m:11:9: fatal error: 'SNSLib/SNSLoginService.h' file not found #import <SNSLib/SNSLoginService.h>
> At the same time ,the build script  without scan-build can execute successfully.
> Incloesd is the script for dailybuild and the scan script , the logs for them is also packed.
> Can anyone tell me the difference betweent directly build and the scan-build  following xcodebuild?
> Or is any bugs for the checker whcih can not search the .h file ?
> Thanks all.
>  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/20131011/2bcc3777/attachment.html>

More information about the cfe-dev mailing list