compiler feature warning and deprecate