more fixes to sync with clang+mavericks -- fixed many warnings