This macro dynamically enables or disables the control of warning messages.