[Lazarus] ZeosLib and FPC 2.2.5
Marco van de Voort
marcov at stack.nl
Wed Nov 4 10:10:46 CET 2009
On Wed, Nov 04, 2009 at 10:30:34AM +0200, ik wrote:
> I'm trying to install ZeosLib 6.6.5 on Lazarus 0.9.29 using FPC 2.2.5, and
> it has a problem with the current code:
> BaseFieldTypes: array[TFieldType] of TFieldType = (
> ftUnknown, ftString, ftInteger, ftInteger, ftInteger, ftBoolean,
> ftFloat,
> ftFloat, ftBCD, ftDateTime, ftDateTime, ftDateTime, ftBytes, ftVarBytes,
> ftInteger, ftBlob, ftBlob, ftBlob, ftBlob, ftBlob, ftBlob, ftBlob,
> ftUnknown,
> ftString, ftString, ftLargeInt, ftADT, ftArray, ftReference, ftDataSet,
> ftBlob, ftBlob, ftVariant, ftInterface, ftInterface, ftString,
> ftTimeStamp, ftFMTBcd
> {$IFDEF FPC2_1UP}, ftString, ftBlob{$ENDIF});
>
> FPC claims that it ends prematurely and more items should be added.
> Has anyone solved this error (it will be easier then do a parameter by
> parameter checking by hand) ?
Current trunk has: (db.pas)
TFieldType = (ftUnknown, ftString, ftSmallint, ftInteger, ftWord,
ftBoolean, ftFloat, ftCurrency, ftBCD, ftDate, ftTime, ftDateTime,
ftBytes, ftVarBytes, ftAutoInc, ftBlob, ftMemo, ftGraphic, ftFmtMemo,
ftParadoxOle, ftDBaseOle, ftTypedBinary, ftCursor, ftFixedChar,
ftWideString, ftLargeint, ftADT, ftArray, ftReference,
ftDataSet, ftOraBlob, ftOraClob, ftVariant, ftInterface,
ftIDispatch, ftGuid, ftTimeStamp, ftFMTBcd, ftFixedWideChar,
ftWideMemo);
That seems to mostly match. Maybe the FPC2_1up construct fails?
More information about the Lazarus
mailing list