[dmd-beta] Fighting with 2.059 and not quite winning

Vladimir Panteleev thecybershadow.lists at gmail.com
Fri Apr 6 07:01:47 PDT 2012


On Fri, 06 Apr 2012 07:39:42 +0300, Jonathan M Davis <jmdavisProg at gmx.com>  
wrote:

> Okay. I don't know why you think that it's enforced. I just tried having  
> an
> impure toString in both a struct and a class, and it worked just fine  
> for both.

Ah, apparently I missed that it was actually a warning, sorry for that.

Even so, now I need to choose whether to disable warnings in my project's  
build script (which is admittedly easier than calling casted method  
derferences everywhere) or find a way to solve these issues properly.

Bug 7843 is related (-wi still prevents compilation when the new warnings  
are encountered).

-- 
Best regards,
  Vladimir                            mailto:vladimir at thecybershadow.net


More information about the dmd-beta mailing list