Changed warnings to be treated as errors.