disable most warnings produced by -Wall
fix most of the warnings
Merge pull request #541 from licaiguo/disable-warnings

disable most warnings produced by -Wall