[Issue 14367] Print warnings by default

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Apr 11 04:24:21 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14367

Martin Krejcirik <mk at krej.cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mk at krej.cz

--- Comment #3 from Martin Krejcirik <mk at krej.cz> ---
(In reply to Shammah Chancellor from comment #0)
> DMD currently does not print warning by default.  This should be changed so
> that people are notified of deprecated features during compilation and can
> start fixing them.   It will come as a surprise when these features are


The whole point of deprecation messages (-dw) is to notify people of pending
deprecation. Warnings (-wi) are something completely different. They warn about
something which may or may not be wrong (buggy).

Sometimes warnings are used as a first stage before deprecation, but IMHO these
two should not be mixed.

Since -dw is turned on by default, there is no need for -wi by default too.

--


More information about the Digitalmars-d-bugs mailing list