WTF: dmd 2.066 vs. dmd 2.067 really dangerous code breakage

Martin Nowak via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 22 15:23:06 PDT 2015


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?


More information about the Digitalmars-d mailing list