Thanks for your assistance! I did so and got the "asm in @safe function"
error for tan() so I made that @trusted.
After this I'm seeing:
Testing generated/posix/debug/unittest/std/algorithm
generated/posix/debug/libphobos2.a(math_3f7_174.o): In function
`_D3std4math4log2FNaNbeZe':
/home/andrei/code/dmd/phobos/std/atomics.d:36: undefined reference to
`_D3std4math4yl2xFNaNbeeZe'
The build is clean. The missing functions seem to be log2() and yl2x().
Andrei
On 05/24/2010 03:07 PM, Don Clugston wrote:
On 24 May 2010 19:51, Andrei Alexandrescu<[email protected]> wrote:
Did that and hit another one:
std/math.d(1611): Error: sqrt cannot be interpreted at compile time, because
it has no available source code
Has this happen to you guys? I'm on the latest and greatest of everything.
If I were any newer, I'd be from the future.
Tracked this down -- as a result of svn 499, you need to add @safe to
sin cos tan sqrt and fabs in std.math.
Andrei
On 05/23/2010 05:51 PM, Shin Fujishiro wrote:
Andrei Alexandrescu<[email protected]> wrote:
I must be missing something. I updated dmd to 2.046, updated druntime
and phobos, and am trying make unittest on Linux.
Update dmd to svn trunk. Phobos r1532 or after needs dmd r488 (>2.046).
Shin
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos