Categorization of warnings

Jack Stouffer via Digitalmars-d digitalmars-d at puremagic.com
Mon Mar 28 12:31:49 PDT 2016


On Monday, 28 March 2016 at 17:39:02 UTC, Steven Schveighoffer 
wrote:
> The deprecation stage is the warning stage. Note that the two 
> other compilers take some time to catch up. If you can't 
> disable the new behavior somehow, then you have projects that 
> will compile only for dmd, or only for the other compilers. 
> There needs to be some kind of transition period where you can 
> write code that is compatible with all in some way or another.

A large percentage of people, especially since this is the 
default for dub, treat warnings as errors. Warnings should NOT be 
part of a deprecation cycle, that's what deprecations are for.

Warnings are not the purview of compilers (or shouldn't be 
anyway).


More information about the Digitalmars-d mailing list