> On Aug 26, 2016, at 10:46 PM, Doug Hill <cocoa...@breaqz.com> wrote: > >> On Aug 26, 2016, at 9:20 PM, Jeff Szuhay <j...@szuhay.org> wrote: >> >>>> On Aug 26, 2016, at 8:44 PM, Sandor Szatmari >>>> <admin.szatmari....@gmail.com> wrote: >>>> >>>> However, in your case I wonder what the static analyzer in Xcode tells you >>>> about the bug you see? >>> >>> I believe Andreas mentioned he does not use Xcode as his product is cross >>> platform, but this is a good suggestion. >> >> Any why not? >> >> Sure, build it without Xcode, but couldn’t you create a shell project where >> the product doesn’t really matter, then build and use the tools in Xcode? > > I believe you can also invoke the analyzer via the command-line tools.
If your build system runs from the command line and honors the CC and CXX environment variables then you may be able to use the scan-build tool to run the clang static analyzer. http://clang-analyzer.llvm.org/scan-build.html -- Greg Parker gpar...@apple.com Runtime Wrangler _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com