Standard

Fix errors and warnings generated by clang.