<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi All,<div><br></div><div>  Partly in response to a recommendation given to us at the last Software Review</div><div>I have set up a nightly cron job to run the scan-build code analyzer on our sim-recon</div><div>code. You can see the latest results of this here:</div><div><br></div><div><a href="https://halldweb.jlab.org/scan-build/LATEST">https://halldweb.jlab.org/scan-build/LATEST</a></div><div><br></div><div>They are a bit interesting to go through. If you click on “View Report” next to any of the</div><div>identified issues, it will show you the relevant source code marked step by step</div><div>with how the error condition might be reached.</div><div><br></div><div>The scan-build tool is made available by the llvm/clang compiler authors and utilizes</div><div>features built into the clang C/C++ compiler. As such I had to build and install the</div><div>clang 3.7.0 compiler on the CUE. It is available for general use by sourcing this script:</div><div><br></div><div><div style="margin: 0px; font-size: 10px; font-family: Monaco;">/group/halld/Software/ExternalPackages/clang-llvm/llvm_clang_3.7.0/setenv.csh</div></div><div><br></div><div>Details on the cron job that runs the analyzer (using code checked out for the nightly</div><div>build) is detailed on the wiki page here:</div><div><br></div><div><a href="https://halldweb1.jlab.org/wiki/index.php/Nightly_Builds_of_GlueX_Software">https://halldweb1.jlab.org/wiki/index.php/Nightly_Builds_of_GlueX_Software</a></div><div><br></div><div>Please let me know if you have any questions.</div><div><br></div><div>Regards,</div><div>-David</div><div><br></div></body></html>