Deprecations: Any reason left for warning stage?

Iain Buclaw via Digitalmars-d digitalmars-d at puremagic.com
Sun Oct 5 00:16:37 PDT 2014


On 5 Oct 2014 08:10, "Daniel Murphy via Digitalmars-d" <
digitalmars-d at puremagic.com> wrote:
>
> "David Nadlinger"  wrote in message
news:tsxbhkdfwilqjpqekogq at forum.dlang.org...
>
>
>> Second, if I'm using "-w", I'm typically interested in errors if I write
fishy code, not because some third-party library I just updated made a
small change to its API. I don't see where the advantage would be in
conflating the two things.
>
>
> You don't get 'warning' deprecations from third-party code, you get them
from the compiler when you use a feature that is on its way to being
deprecated.  Usually because it's fishy.

The 'deprecated' for all intents and purposes might as well emit a warning
when you try to use deprecated features of third party code.

Didn't you Phobos devs have a hardDeprecation message too that would force
an error?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20141005/2688fa76/attachment.html>


More information about the Digitalmars-d mailing list