-Werror is not respected in OPTIONS_FRONTEND pragmas
Presumably this is because the option is applied at the very top-level where only command-line options are available. Perhaps we could make this work on a module-level, by making sure messages get correctly emitted as warning/error as they are produced?