WTF: dmd 2.066 vs. dmd 2.067 really dangerous code breakage
Iain Buclaw via Digitalmars-d
digitalmars-d at puremagic.com
Thu Apr 23 00:39:31 PDT 2015
On 23 April 2015 at 00:23, Martin Nowak via Digitalmars-d
<digitalmars-d at 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)
More information about the Digitalmars-d
mailing list