Set compiler to maximum waring level (by add -Wall), and fixed some problem.