WTF: dmd 2.066 vs. dmd 2.067 really dangerous code breakage
Dicebot via Digitalmars-d
digitalmars-d at puremagic.com
Wed Apr 22 04:36:34 PDT 2015
On Wednesday, 22 April 2015 at 11:28:44 UTC, Daniel Kozak wrote:
> This code compile fine under both versions:
>
> dmd (2.066, -debug -d):
-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?
More information about the Digitalmars-d
mailing list