Errors pointed out by llvm in Mac.