Thread overview | |||||
---|---|---|---|---|---|
|
April 11, 2016 The module std.experimental.logger in Ldc (0.16.1~0.17.1) is erro! | ||||
---|---|---|---|---|
| ||||
/usr/include/d/std/experimental/logger/core.d(487): Error: safe function 'std.experimental.logger.core.defaultLogFunction!cast(LogLevel)cast(ubyte)128u.defaultLogFunction!().defaultLogFunction' cannot call system function 'std.experimental.logger.core.Logger.memLogFunctions!cast(LogLevel)cast(ubyte)128u.logImpl!().logImpl' ----------------------------------------------------------------------- in File std/experimental/logger/core.d line 482 and 494 , should delete @safe. I compare vs dmd(2.071)'s std. and it work fine. |
April 11, 2016 Re: The module std.experimental.logger in Ldc (0.16.1~0.17.1) is erro! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dsby | On Monday, 11 April 2016 at 07:15:26 UTC, Dsby wrote:
> /usr/include/d/std/experimental/logger/core.d(487): Error:
> safe function
> 'std.experimental.logger.core.defaultLogFunction!cast(LogLevel)cast(ubyte)128u.defaultLogFunction!().defaultLogFunction'
>
> cannot call system function
>
> 'std.experimental.logger.core.Logger.memLogFunctions!cast(LogLevel)cast(ubyte)128u.logImpl!().logImpl'
>
> -----------------------------------------------------------------------
> in File std/experimental/logger/core.d
> line 482 and 494 , should delete @safe.
>
> I compare vs dmd(2.071)'s std. and it work fine.
it donesn't have the error in LDC 1.0.0 alpha 1.
|
April 11, 2016 Re: The module std.experimental.logger in Ldc (0.16.1~0.17.1) is erro! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dsby | On 11 Apr 2016, at 8:15, Dsby via digitalmars-d-ldc wrote: > /usr/include/d/std/experimental/logger/core.d(487): Error: > safe function > 'std.experimental.logger.core.defaultLogFunction!cast(LogLevel)cast(ubyte)128u.defaultLogFunction!().defaultLogFunction' > > cannot call system function > > 'std.experimental.logger.core.Logger.memLogFunctions!cast(LogLevel)cast(ubyte)128u.logImpl!().logImpl' As mentioned on GitHub, this has also been reported here: https://github.com/ldc-developers/ldc/issues/1417 — David |
Copyright © 1999-2021 by the D Language Foundation