resolve warnings with clang