Warning settings modified for generated code