Set warnings as errors and level 4. Fix warnings.