Deprecations: Any reason left for warning stage?

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


On 4 Oct 2014 22:30, "David Nadlinger via Digitalmars-d" <
digitalmars-d at puremagic.com> wrote:
>
> On Monday, 29 September 2014 at 15:13:28 UTC, Daniel Murphy wrote:
>>
>> But that's a good thing - the people who get their code broken are the
people who are asking for it with '-w'.
>
>
> I don't think there is much merit to this argument.
>
> First, it's not like the ability to make diagnostics halt the build is
something specific to Warnings. Just pass -de and use of deprecated symbols
will halt compilation too. (Actually, not passing -de would lead to a funny
error(Warning)->warning(Deprecation)->error(Error) progression right now.)
>

One reason why on GDC I removed the distinction between -w and -de, there
are now three GCC-style switches: -Wall (-wi), -Wdeprecated (-d), and
-Werror (-w, -de). All of which are off by default.

Iain.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20141005/1ea0e4bd/attachment.html>


More information about the Digitalmars-d mailing list