add a list of modules that enable warnings, but remove warnings::register