add compat macro with-demoted-errors