I had only tried to compile the individual std.numeric module and run the unittests. This definitely works fine. I had never tried to compile Phobos as a whole because compiling Phobos on Windows is somewhat of a PITA and I didn't anticipate such strange problems as these.<br>
<br>At any rate, I just tried it now and it works for me on Windows with 2.046. It looks like the oddities that had made building Phobos on Windows such a PITA (stuff related to minit.o) have been fixed recently, too. On the beta, it fails with completely unrelated error messages related to CTFE of sqrt in std.math:<br>
<br>std\math.d(1611): Error: sqrt cannot be interpreted at compile time, because it<br>has no available source code<br>std\math.d(1614): Error: static assert (2L * (1L / (0.5L * sqrt(0x1p-16382L)) /<br> 2L) * (1L / (0.5L * sqrt(0x1p-16382L)) / 2L) <= 0x1.fffffffffffffffep+16383L) i<br>
s not evaluatable at compile time<br><br>What OS were you trying to build on?<br>
<br><div class="gmail_quote">On Fri, Jun 11, 2010 at 11:00 AM, Don Clugston <span dir="ltr"><<a href="mailto:dclugston@googlemail.com" target="_blank">dclugston@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>On 11 June 2010 15:40, David Simcha <<a href="mailto:dsimcha@gmail.com" target="_blank">dsimcha@gmail.com</a>> wrote:<br>
> I have no idea how this happened, as they all compiled and passed for me.<br>
> Can you describe what the problem is?<br>
<br>
</div>Building phobos with -unittest generates<br>
Error: Out of memory<br>
while compiling that test.<br>
Does it still work for you?<br>
<div><div></div><div>_______________________________________________<br>
phobos mailing list<br>
<a href="mailto:phobos@puremagic.com" target="_blank">phobos@puremagic.com</a><br>
<a href="http://lists.puremagic.com/mailman/listinfo/phobos" target="_blank">http://lists.puremagic.com/mailman/listinfo/phobos</a><br>
</div></div></blockquote></div><br>