[cvs-nhc98] Added compiler option -Wall, fixed almost all warnings.