minor fixes.

Add more gcc warnings for development on UNIX.
6 files changed