[dmd-beta] Last Beta: dmd 1.067 and 2.052 beta

Brad Roberts braddr at puremagic.com
Fri Feb 18 22:20:19 PST 2011


On 2/18/2011 10:07 PM, Don Clugston wrote:
> On 19 February 2011 00:38, Brad Roberts <braddr at puremagic.com> wrote:
>> Wait.. It has -release, but it also has -unittest which overrides
>> -release when it comes to asserts.  That means that the only issue would
>> be files that are linked in from the .lib file rather than being rebuilt
>> as part of the unittest.exe build.  Or am I overlooking something again?
> 
> That's what I originally thought, too, but I found in practice that it
> doesn't work - not properly, anyway. Removing -release makes tests
> fail.
> The makefile also needs a way to make a Phobos debug build. A couple
> of horrific BigInt bugs slipped through because I had assumed that if
> you do a -unittest build,'
> you get asserts enabled. But you don't. My test cases should have been
> triggering asserts.
> 

Obviously.. so that's another bug to worry about.

Also, it also means that posix is doing something differently since it's not seeing the problems that windows does.


More information about the dmd-beta mailing list