handling clang Wall warnings as well