Why does calling a struct constructor generate linker errors when using Better C?

Stijn stijn.herreman at telenet.be
Sun Dec 24 01:25:24 UTC 2017


On Sunday, 24 December 2017 at 01:21:53 UTC, rikki cattermole 
wrote:
> On 24/12/2017 1:20 AM, Stijn wrote:
>> [...]
>
> new uses GC.
> It has nothing to do with structs.

Oh I see, simply removing 'new' solves the problem. I've a C# 
background, so I hadn't thought of doing that. Thanks!


More information about the Digitalmars-d-learn mailing list