Lazarus trunk with FPC trunk and ZEOS 7.2.0 does not compile

The forum for ZeosLib 7.2 Report problems. Ask for help, post proposals for the new version and Zeoslib 7.2 features here. This is a forum that will be edited once the 7.2.x version goes into RC/stable!!

My personal intention for 7.2 is to speed up the internals as optimal a possible for all IDE's. Hope you can help?! Have fun with testing 7.2
Post Reply
CharlyTango
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 20.10.2017, 14:41

Lazarus trunk with FPC trunk and ZEOS 7.2.0 does not compile

Post 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.
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1918
Joined: 17.01.2011, 14:17

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

Post 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
Post Reply