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.

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:

std\math.d(1611): Error: sqrt cannot be interpreted at compile time, because
it
has no available source code
std\math.d(1614): Error: static assert  (2L * (1L / (0.5L *
sqrt(0x1p-16382L)) /
 2L) * (1L / (0.5L * sqrt(0x1p-16382L)) / 2L) <=
0x1.fffffffffffffffep+16383L) i
s not evaluatable at compile time

What OS were you trying to build on?

On Fri, Jun 11, 2010 at 11:00 AM, Don Clugston <[email protected]>wrote:

> On 11 June 2010 15:40, David Simcha <[email protected]> wrote:
> > I have no idea how this happened, as they all compiled and passed for me.
> >  Can you describe what the problem is?
>
> Building phobos with -unittest generates
> Error: Out of memory
> while compiling that test.
> Does it still work for you?
> _______________________________________________
> phobos mailing list
> [email protected]
> http://lists.puremagic.com/mailman/listinfo/phobos
>
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to