Enhancing Code Quality with Generative AI: Boosting Developer Warning Compliance