[phobos] phobos commit, revision 1627

David Simcha dsimcha at gmail.com
Fri Jun 11 08:18:30 PDT 2010


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 <dclugston at googlemail.com>wrote:

> On 11 June 2010 15:40, David Simcha <dsimcha at gmail.com> 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
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/phobos/attachments/20100611/45260b59/attachment.html>


More information about the phobos mailing list