unresolved external symbol in BetterC

Marcel marcelpi97 at gmail.com
Sun Dec 8 20:52:25 UTC 2019


On Sunday, 8 December 2019 at 19:57:11 UTC, Marcel wrote:
> On Sunday, 8 December 2019 at 19:36:40 UTC, Mike Parker wrote:
>> [...]
>
> extern(C) void main()
> {
> 	auto pool = ObjectPool!(int)(100);
> 	auto a = pool.Acquire;
> 	pool.Release(*a);
> }
>
> [...]

Ok, I found a way to make this work by writing "nothrow:" inside 
each struct and module. Is this normal?


More information about the digitalmars-d-ldc mailing list