Enable warnings and fix them.