Visual D Build + DMD Bugginess = Bad

Lars T. Kyllingstad public at kyllingen.NOSPAMnet
Wed Oct 13 23:17:08 PDT 2010


On Wed, 13 Oct 2010 14:15:00 -0700, Walter Bright wrote:

> 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.

It's not quite true that it works without problems.  I reported bug 3979 
because I was unable to include the new std.process in Phobos without 
changing the order of the files passed to DMD.

-Lars


More information about the Digitalmars-d mailing list