Add extra warnings and treat them as errors