One Quickie

Getting a list of supported compiler flags (llvm->General)
% clang -cc1 --help
OVERVIEW: LLVM 'Clang' Compiler:

USAGE: clang -cc1 [options] <inputs>

  -Eonly                  Just run preprocessor, no output (for timings)
  -E                      Only run the preprocessor
  -F <value>              Add directory to framework include search path
  -H                      Show header includes and nesting depth
Unfortunately it doesn't show all the warning flags.

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