<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On May 12, 2013, at 20:15 , 凌欢 <<a href="mailto:linghuan713@126.com">linghuan713@126.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="line-height: 1.7; font-size: 14px; font-family: arial; "><div style="font-size: 12px; ">Hi, Jordan:<br>I got a fully test for the "Clang++" problem:</div><div style="font-size: 12px; "><strong>1)</strong> when I add the argument --use-cc++ ,it had been prompted :</div><div style="font-size: 12px; "><!--StartFragment --><div>
<strong>scan-build: unrecognized option '--use-cc++=/Applications/xcode4.6_sdk6.1/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++'
</strong></div><div>Incloesd file is the scan script, I am not sure whether the other argument are conflicted with the  --use-cc++.</div></div></div></blockquote><div><br></div><div>The flag is --use-c++, not --use-cc++. But...</div><br><blockquote type="cite"><div style="line-height: 1.7; font-size: 14px; font-family: arial; "><div><div style="font-size: 12px; "><strong>2 ) </strong>For the same scan-build command in the scan.sh, if I apply the scan-build.patch ,the "clang++" problem can be resolved.</div><div style="font-size: 12px; ">     if i don't apply ,the problem will be still exist. </div><div style="font-size: 12px; ">     All the test is based on the xcode4.6. </div></div></div></blockquote><div><br></div><div>...it sounds like everything is working—with Xcode 4.6, anyway—when the patch is applied! Is that correct? </div><br><blockquote type="cite"><div style="line-height: 1.7; font-size: 14px; font-family: arial; "><div><div style="font-size: 12px; "><strong>3)</strong> The inclosed file scan-build is had been apply patch while the another file scan-build.bak is not.</div><div style="font-size: 12px; "><strong>4)</strong>  By the way ,would you have a plan to release the patch on the next release checker?</div><div style="font-size: 12px; "></div></div></div></blockquote><div><br></div><div>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.</div><div><br></div><div>Thank you for testing everything! So one more time, before I commit: scan-build works with Xcode 4.6 if the patch is applied?</div><div>Jordan</div></div></body></html>