[cfe-dev] Can't exec "clang++" Problem

Jordan Rose jordan_rose at apple.com
Mon May 13 17:24:33 PDT 2013


On May 12, 2013, at 20:15 , 凌欢 <linghuan713 at 126.com> wrote:

> Hi, Jordan:
> I got a fully test for the "Clang++" problem:
> 1) when I add the argument --use-cc++ ,it had been prompted :
> scan-build: unrecognized option '--use-cc++=/Applications/xcode4.6_sdk6.1/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++'
> Incloesd file is the scan script, I am not sure whether the other argument are conflicted with the  --use-cc++.

The flag is --use-c++, not --use-cc++. But...

> 2 ) For the same scan-build command in the scan.sh, if I apply the scan-build.patch ,the "clang++" problem can be resolved.
>      if i don't apply ,the problem will be still exist.
>      All the test is based on the xcode4.6.

...it sounds like everything is working—with Xcode 4.6, anyway—when the patch is applied! Is that correct? 

> 3) The inclosed file scan-build is had been apply patch while the another file scan-build.bak is not.
> 4)  By the way ,would you have a plan to release the patch on the next release checker?

I wanted to confirm that the patch actually does fix your issue before pushing it back to the Clang repository, but then yes, it will go out in the next checker build, which should be soon.

Thank you for testing everything! So one more time, before I commit: scan-build works with Xcode 4.6 if the patch is applied?
Jordan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130513/ddb5da7c/attachment.html>


More information about the cfe-dev mailing list