warnings being treated as errors