https://issues.dlang.org/show_bug.cgi?id=17424
--- Comment #5 from Jonathan M Davis <issues.dl...@jmdavisprog.com> --- I would point out that optional errors would actually be extremely bad in D because of compile-time introspection. What code worked and compiled would change based on the compiler flags, effectively meaning that the language definition changed via the compiler flags. We already have problems with that thanks to -w (we really should just be made to do the same as -wi and then phase one of them out). To get the diagnostics that you're looking for without creating problems with compile-time introspection, there would need to be some sort of option that caused compilation to fail (as occurs with an error) when they occurred but which would be ignored for the purposes of compile-time introspection. --