a linking error very hard to understand and solve...

Joakim dlang at joakim.fea.st
Thu Nov 2 13:37:31 UTC 2017


On Thursday, 2 November 2017 at 11:13:34 UTC, Jean-Yves Vion-Dury 
wrote:
>
> Dear colleagues,
> I cannot solve this compilation issue; the message is 
> ambiguous, in this sense that one of the proposed sulution 
> (line 81) is apparently the one exposed as problematic...
>
> Any help much appreciated...
> best,
> Jean-Yves (and thanks to all contributors)
>
> src\stores.d(178): Error: none of the overloads of 'spawnFiber' 
> are callable using argument types (void delegate(LRMSFiber f), 
> string, uint, string), candidates are:
> src\fiberManager.d(77):        
> fiberManager.FiberManager.spawnFiber(void delegate(LRMSFiber) 
> op)
> src\fiberManager.d(81):        
> fiberManager.FiberManager.spawnFiber(void delegate(LRMSFiber) 
> op, string name)
> src\fiberManager.d(85):        
> fiberManager.FiberManager.spawnFiber(void delegate(LRMSFiber) 
> op, string name, uint maxMsg)
> src\fiberManager.d(89):        
> fiberManager.FiberManager.spawnFiber(void delegate(LRMSFiber) 
> op, string name, uint maxMsg, string ioch)
>
> --- errorlevel 1

This is not a linking error, it is a D compiler error message.

Is it possible you have a template constraint on the function at 
line 89 that's causing it not to match?  I've seen a similar 
problem lately with std.conv.to on AArch64 that I need to dig 
into.


More information about the Digitalmars-d mailing list