One Quickie


Suppressing static analyzer for a file (Xcode->Hacks)
Sometimes you have a crufty old file in your project that generates static analyzer warnings, but you're not in a place to fix them (like one of my old old projects has some zip/unzip code that causes compiler heartburn, but currently works). You can disable static analysis by passing these flags:
-Xanalyzer -analyzer-disable-all-checks
If you do this you should feel bad. I did this, and I feel bad.



borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book

webmonster@borkware.com