<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div style="color: rgb(0, 0, 0); line-height: 1.7; font-family: arial; font-size: 14px;"><div>hi, Jordan:<br>1) For the argument "--use-c++", I added it to three projects, and then I found it worked while the scan-build whitout no applying patch for two projects.</div><div> 2) And the third one still report "clang++" problem whatever the xcode verison is 4.5.x or 4.6 ,or based (or not ) the patch for scan-build chekcer-274.</div><div>3) Inclosed file is the scan script and scan-build log for the third project. It thinks that "-use-c++" does work for some iOS projects.</div><div> </div><div>Thanks.<br> BRs</div><div><div>
<div>Howard Ling </div>
<div>*****************************************************</div>
<div> </div>
<div>E-mail: <a href="mailto:linghuan713@126.com">linghuan713@126.com</a></div>
<div> </div>
<div>*****************************************************</div></div></div><div id="divNeteaseMailCard"></div><div></div>ÔÚ 2013-05-14 08:24:33£¬"Jordan Rose" <<a href="mailto:jordan_rose@apple.com">jordan_rose@apple.com</a>> дµÀ£º<br> <blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" id="isReplyContent"><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-family: arial; font-size: 14px;"><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;"><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-family: arial; font-size: 14px;"><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-family: arial; font-size: 14px;"><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></blockquote></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>