Symbol registerMemoryErrorHandler not found when compiling with LDC

Per Nordlöw per.nordlow at gmail.com
Mon Dec 17 15:10:13 UTC 2018


Does

/// See_Also: 
https://forum.dlang.org/post/nzazqswxadqzyoghwhzh@forum.dlang.org
static this()
{
     import etc.linux.memoryerror : registerMemoryErrorHandler;
     registerMemoryErrorHandler();
}

only work with DMD?

With LDC I get

base.d:908: error: undefined reference to 
'_D3etc5linux11memoryerror26registerMemoryErrorHandlerFZb'



More information about the Digitalmars-d-learn mailing list