Register a shutdown function, which stops error reporting. DW is simply
not coded with warning-elimintation in mind.