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

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 22 16:30:40 PDT 2015


On Thu, 23 Apr 2015 00:23:06 +0200, Martin Nowak 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?

you can't protect people from themselves.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150422/178c712c/attachment.sig>


More information about the Digitalmars-d mailing list