[phobos] phobos commit, revision 1627

Don Clugston dclugston at googlemail.com
Fri Jun 11 09:15:13 PDT 2010


On 11 June 2010 17:18, David Simcha <dsimcha at gmail.com> wrote:
> 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?

Windows XP. Are you using the second beta? I've seen those error
messages before, but they got fixed ages ago. Sounds to me like beta
1.


More information about the phobos mailing list