On 2/18/2011 10:07 PM, Don Clugston wrote: > On 19 February 2011 00:38, Brad Roberts <[email protected]> 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. _______________________________________________ dmd-beta mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-beta
