#1 2024-02-23 10:13:26

sakura
Member
From: Germany
Registered: 2018-02-21
Posts: 228
Website

ObjArrayAdd mormot.core.base vs mormot.core.os

Hi,

in mormot.core.os is a method ObjArrayAdd with different params, than in mormot.core.base.
When both units are referenced, Delphi cannot find the correct version to call.
For example in mormot.core.unicode and mormot.core.rtti the compiler stops, only when prefixing them with mormot.core.base the compiler will find the correct one.
I am sure more instances would occur, when I look further.

Regards,
Daniel

PS: Current commit on github

Last edited by sakura (2024-02-23 10:13:54)

Offline

#2 2024-02-23 10:19:27

sakura
Member
From: Germany
Registered: 2018-02-21
Posts: 228
Website

Re: ObjArrayAdd mormot.core.base vs mormot.core.os

I've checked through, there are not to many instances. I could create a pull request of the relevant places I've found, however, more may exist.

Offline

Board footer

Powered by FluxBB