<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body><div><div style="font-family: Calibri,sans-serif; font-size: 11pt;">The only one and right solution is print warning message by default</div></div><div dir="ltr"><hr><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Od:</span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:digitalmars-d@puremagic.com">David Nadlinger via Digitalmars-d</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Odesláno:</span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">‎26. ‎9. ‎2014 18:20</span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Komu:</span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:digitalmars-d@puremagic.com">digitalmars-d@puremagic.com</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Předmět:</span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">Deprecations: Any reason left for warning stage?</span><br><br></div>As Walter mentioned in a recent pull request discussion [1], the <br>first formal deprecation protocol we came up with for language <br>changes looked something like this:<br><br>1. remove from documentation<br>2. warning<br>3. deprecation<br>4. error<br><br>(The "remove from documentation" step is a bit questionable, but <br>that's not my point here.)<br><br>However, in the meantime deprecations were changed to be <br>informational by default. You now need to explicitly need to pass <br>-de to turn them into errors that halt compilation. Thus, I think <br>we should simply get rid of the warning step, just like we (de <br>facto) eliminated the "scheduled for deprecation" stage from the <br>Phobos process.<br><br>Thoughts?<br><br>Best,<br>David<br><br><br>[1] <br>https://github.com/D-Programming-Language/dmd/pull/4021#issuecomment-56758916<br></body></html>