jhuber6 wrote: If you don't want to turn it on globally, but have some specific ones in mind, you can probably use `-Werror=`. For example, I'd like `-Werror=global-constructors` because they really shouldn't appear by accident. https://github.com/llvm/llvm-project/pull/73966