Visual D Build + DMD Bugginess = Bad

Walter Bright newshound2 at digitalmars.com
Wed Oct 13 14:15:00 PDT 2010


dsimcha wrote:
> I've noticed that, when passed multiple files at once, DMD is generally buggy
> in ways that I can't reproduce in small test cases.  This includes things like
> magically ignoring __gshared variables, and not being able to convert a type
> to an alias to the same type, for example, not being able to convert a size_t
> to a uint on 32-bit, or not being able to convert a float[] to an R where R is
> a template parameter instantiated as float[].
> 
> I have two questions:
> 
> 1.  Has anyone experienced similar things and if so are they further along
> than me at creating decent test cases?

Phobos and Druntime are built by passing all the files to dmd at once, and it 
works without problems. No attempt was made to tweak the order the files were 
presented to dmd to make it work, I just aggregated them all.


More information about the Digitalmars-d mailing list