Page 1 of 1

Lazarus trunk with FPC trunk and ZEOS 7.2.0 does not compile

Posted: 31.01.2019, 14:15
by CharlyTango
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.

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;
the corresponding code is:

Code: Select all

 FZBufferSize := Min(FZBufferSize, FIBConnection.GetXSQLDAMaxSize); 
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.

Re: Lazarus trunk with FPC trunk and ZEOS 7.2.0 does not compile

Posted: 03.02.2019, 18:26
by marsupilami
Hello CharlyTango,

FPC trunk is not supported by Zeos 7.2 currently. Please try one of our SVN branches (7.2-patches or testing-7.3). The problem might already be corrected there. For more information see our SourceForge Subversion repository.

Best regards,

Jan