Make deprecation warnings compile errors#1296
Conversation
|
Thanks for your pull request, @wilzbach! |
|
Needs #1295 |
fb3f1f6 to
fe54972
Compare
|
I like the idea, but looks like you have more work to do to get some D versions working. I build the native Android dub with this flag, but I only have to worry about the latest ldc. 😉 |
fe54972 to
46943d0
Compare
f342a96 to
406c277
Compare
406c277 to
c4fbeb8
Compare
|
I'm going to go ahead and close this. While it is a nice to have thing, I don't thing it's something that is easily achievable, just for the fact that DUB depends on Phobos and Vibe.d (and its dependencies) and support a wide range of libraries. We have evidence that there are unsolved problems with deprecations, for example deprecating So |
-deis also used at Phobos, Druntime and Tools.See also: dlang/phobos#5546
The idea is that whenever sth. gets deprecated in Druntime or Phobos a replacement needs to exists. By always building with
-de, we can enforce that the replacement really exists and force the person who submits the deprecation to look after the fallout.