Andrei Alexandrescu wrote:
Thanks for looking into this, Shin. For now I commented out that
unittest.
My epic saga of getting things to build hasn't ended. In fact my
initial goal was just to build the html, but that uses wine, which in
turn has a problem. Try this:
make -f linux.mak OS=win32wine debug
to see the following error messages:
std\math.d(1611): Error: sqrt cannot be interpreted at compile time,
because it has no available source code
std\math.d(1611): Error: sqrt cannot be interpreted at compile time,
because it has no available source code
std\math.d(1611): Error: sqrt cannot be interpreted at compile time,
because it has no available source code
std\math.d(1611): Error: sqrt cannot be interpreted at compile time,
because it has no available source code
std\math.d(1611): Error: sqrt cannot be interpreted at compile time,
because it has no available source code
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) is not evaluatable at compile time
I checked in the changes to std.math to fix this last night. It was
necessary because of a change to dmd to allow the intrinsics like sqrt
to be labeled as @safe. dmd and std.math needed to be in sync.
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos