Use the '_warning' module. This module is expected to be working and is included by default.