Can't build packages under Linux64 (DelphiRio)
function SameTypeInfo is using UTF8IdentIdentCompare which is dedicated for windows
{$IFDEF MSWINDOWS}
function UTF8IdentIdentCompare(left, right: PByte): Boolean;
{$ENDIF}
Comments (6)
-
repo owner -
repo owner - changed status to open
-
reporter ok - thanks a lot for answer
-
reporter I tried to do the same on linux64 Delphi 10.4 (Sydney)
Target _PasCoreCompile:
C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\dcclinux64.exe
Embarcadero Delphi for Linux 64 bit compiler version 34.0
C:\AP32\LIB\spring4d\Source\Base\Spring.pas(3700): error E2003: Undeclared identifier: 'UTF8IdentIdentCompare'
Done building target "_PasCoreCompile" in project "Spring.Base.dproj" -- FAILED.
-
repo owner I just tested and I also could not compile in 10.4 but that was because the ld-linux.exe kept running forever and never finished so I just killed it.
In 11 and 12 it works though
-
repo owner - changed status to closed
- Log in to comment
UTF8IdentIdentCompare was introduced in the RTL in 10.4 which is being used for non-Windows platforms and I did not backport it for 10.3 - Linux and other non-Windows platforms are thus not supported on 10.3 (it would be the only version anyway since that was the first version that dropped ARC)
I can look into it but it has very low priority.