[general] errors and warnings thanks to clang.