Enable most warnings and fix them.