LDC 0.13.0 alpha 2 released! Please help test!

Kai Nacke kai at redstar.de
Sat Apr 12 14:35:44 PDT 2014


On Monday, 31 March 2014 at 17:13:05 UTC, David Nadlinger wrote:
> On 31 Mar 2014, at 17:47, Kai Nacke wrote:
>> On Sunday, 30 March 2014 at 07:53:33 UTC, bearophile wrote:
>>> I am also seeing problems with this in the latest two betas 
>>> (but not in the precedent ldc2 version):
>>>
>>> http://rosettacode.org/wiki/Left_factorials#D
>>>
>>
>> I can reproduce this on mingw but not on Linux. Strange.
>
> Without having looked into the issue at all, my first guess 
> would be that this might be a name mangling issue with the 
> Win32 calling convention (either prepended underscore or an 
> extra @<n> suffix).
>
> David

weak symbols are not really supported on mingw. I changed the 
assembler output to look like code generated from D templates 
(using .linkonce discard). Now it links & runs.

Regards,
Kai


More information about the digitalmars-d-ldc mailing list