Compile Project, Target: D:\GDS\pascal\ocvWrapper46\examples-Freepascal\DigitsRecognition\test.exe: Exit code 1, Errors: 2, Hints: 2Hint: (11030) Start of reading config file D:\programmi\FPC3.3.1\fpc\bin\x86_64-win64\fpc.cfgHint: (11031) End of reading config file D:\programmi\FPC3.3.1\fpc\bin\x86_64-win64\fpc.cfgVerbose: (11023) Free Pascal Compiler version 3.3.1-15402-ge67cccee37-dirty [2024/03/11] for x86_64Verbose: (11023) Copyright (c) 1993-2024 by Florian Klaempfl and othersVerbose: (1002) Target OS: Win64 for x64Verbose: (3104) Compiling test.lprtest.lpr(35,19) Error: (3048) Function header doesn't match any method of this class "train(const TObject;const TArray$1$crcB6E8EE8F_crc39B5D60D):System.Boolean;"test.lpr(17,17) Error: (5088) Found declaration: train(const TObject;const TArray$1$crc713F463B_crc39B5D60D):System.Boolean;test.lpr(49,0) Verbose: (10026) There were 2 errors compiling module, stoppingVerbose: (1018) Compilation abortedVerbose: (1018) D:\programmi\FPC3.3.1\fpc\bin\x86_64-win64\ppcx64.exe returned an error exitcode
How long has that been like that?
[/b] accurate statement about FPC copying Delphi.
So also in Fpc, for mode Delphi, should be System.Integer = longint. It's not correct that it is smallint.