fixed or ignored a bunch of clang warnings