On 23 April 2015 at 00:23, Martin Nowak via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > On 04/22/2015 01:36 PM, Dicebot wrote: >> >> -d is your enemy, If you remove that, there will be a clear warning >> "Deprecation: variable XXX.S.FLAG_ON immutable field with initializer >> should be static, __gshared, or an enum". You decided to ignore and hide >> it, why the surprise about the breakage? > > Maybe using -d should itself emit a warning?
People might start asking for a compiler switch to turn of -d emitting a warning... :o)