Page 1 of 1

Install problems ZEOS(294) --> Lazarus 0.9.23

Posted: 28.09.2007, 08:41
by lordmiro
Hi

Zeos can't compile with latest Lazarus version

ERROR in -------->
procedure TZAbstractRODataset.CheckFieldCompatibility(Field: TField;FieldDef: TFieldDef);

C:\lazarus\MYCOMP\ZEOS\src\component\ZAbstractRODataset.pas(3022,46) Fatal: Syntax error, "," expected but ")" found

C:\lazarus\MYCOMP\ZEOS\src\component\ZAbstractRODataset.pas(3045,18) Error: Identifier not found "CheckTypeSizes"

Is this Lazarus (latest FPC) or Zeos problem ?

Any help or suggestions appreciated.
I just comented everything inside TZAbstractRODataset,
but that is sure not right solution.


Thanks evreybody who works in Zeos team,
for GREAT work !

Regards Miran

Posted: 28.09.2007, 13:06
by mdaems
What FPC version are you using exactly? I suppose it's 2.2?
Just change {$IFDEF VER2_1} in procedure TZAbstractRODataset.CheckFieldCompatibility. Does that work?
That's the problem with all these versions... We'll have to find and implement a good DEFINES schema.

Mark

Posted: 28.09.2007, 15:48
by lordmiro
Thank you for your answer Mark !!

You are 100% right.

I use FPC 2.2.
I changed {$IFDEF VER2_1} to {$IFDEF VER2_2} in TZAbstractRODataset.CheckFieldCompatibility
and install ZEOS without problems.

Miran

Posted: 28.09.2007, 20:42
by mdaems
Bug report filed. (#65)

Posted: 29.09.2007, 16:57
by mdaems
Should be fixed in SVN Testing branch revision 296