Add -Wall flag to the compilation.
fix several warnings.
'*'