Lazarus trunk with FPC trunk and ZEOS 7.2.0 does not compile
Posted: 31.01.2019, 14:15
Hi,
I just downloaded Lazarus trunk (2.1) and FPC trunk to see how it works with ZEOS.
ZEOS 7.2.0 was installed via OPM (Online Package Manager) but it was not possible to compile the ZEOS Package.
the corresponding code is:
it seems that there were some substantial changes in FPCs math.pp resulting in a situation that the compiler is not able to distinguish the necessary overloaded Min() function.
I just downloaded Lazarus trunk (2.1) and FPC trunk to see how it works with ZEOS.
ZEOS 7.2.0 was installed via OPM (Online Package Manager) but it was not possible to compile the ZEOS Package.
Code: Select all
Compile package zdbc 7.2: Exit code 1, Errors: 1, Hints: 2
ZDbcInterbase6Statement.pas(265,19) Error: Can't determine which overloaded function to call
ZCompatibility.pas(839,10) Hint: Found declaration: Min(const NativeUInt;const NativeUInt):QWord;
math.pp(2061,10) Hint: Found declaration: Min(QWord;QWord):QWord;
Code: Select all
FZBufferSize := Min(FZBufferSize, FIBConnection.GetXSQLDAMaxSize);