How to use Zeos with FPC2.7.1?

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Post Reply
mmvisual
Senior Boarder
Senior Boarder
Posts: 51
Joined: 13.10.2010, 14:55

How to use Zeos with FPC2.7.1?

Post by mmvisual »

Hello,

I cannot compile ZEOS with FPC V2.7.1.

The Error:
...\ZeosDBO\src\component\ZAbstractRODataset.pas(3116,118) Error: Expected another 2 array elements

The Line:
{$IFDEF FPC2_1UP}, ftString, ftBlob{$ENDIF});

But I have count and I think it must work. Have anoter a idea?

regards Markus
seawolf
Zeos Dev Team *
Zeos Dev Team *
Posts: 385
Joined: 04.06.2008, 19:50
Contact:

Post by seawolf »

Add to Zeos.inc file

{$IFDEF VER2_7}
{$DEFINE FPC2_7UP}
{$DEFINE FPC2_6UP}
{$DEFINE FPC2_5UP}
{$DEFINE FPC2_4UP}
{$DEFINE FPC2_3UP}
{$DEFINE FPC2_2UP}
{$DEFINE FPC2_1UP}
{$ENDIF}
mmvisual
Senior Boarder
Senior Boarder
Posts: 51
Joined: 13.10.2010, 14:55

Post by mmvisual »

Thank you very much!

I have add the same for VER2_6, too.
Post Reply