<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div>hi, all:</div><div>My scan-build verison is checker-275. I can add some pragma lines such as the following lines to source code: </div><div><em>#pragma clang diagnostic ignored "-Wdangling-else"<br>#pragma clang diagnostic ignored "-Wparentheses-equality"</em></div><div><div><em> #pragma clang diagnostic ignored "-Wunused-variable"
</em></div><div>to avoid the Xcode Gui Analyze the bugs. It seems that it worked for Xcode Gui Analyse ,for exmale ,to disble the <!--StartFragment --><div>
<strong>Dead assignment
</strong>bug type scan ,we can add:</div><div><em> #pragma clang diagnostic ignored "-Wunused-variable"</em></div><div>to specific source code. The problem is , the setting is not work for scan-build command line tool.</div><div>Can anyone give me tips? Thanks all.</div><div>BRs</div></div></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><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>