[phobos] std.complex doesn't pass unittest

Don Clugston dclugston at googlemail.com
Mon May 24 13:07:11 PDT 2010


On 24 May 2010 19:51, Andrei Alexandrescu <andrei at erdani.com> 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<andrei at erdani.com>  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
>> phobos at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/phobos
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
>


More information about the phobos mailing list