[solved] ZAbstractRODataset.pas and FPC 2.6
Posted: 01.02.2012, 15:36
Hello,
To install Zeos SVN 903 in lazarus
svn co svn://zeos.firmos.at/zeos/trunk --> Revision 903
So which directory are you using to download Revision 966 ?
Regards.
To install Zeos SVN 903 in lazarus
- in lazarus 0.9.31-34335-fpc-2.5.1-20111221.win32 : no problem
- in lazarus 0.9.31-35069-fpc-2.6.1-20120201.win32 : Enum TFieldType.ftInteger lazarus\fpc\2.6.1\source\packages\fcl-db\src\base\db.pas (110,50).
While waiting for the patch, you can fix like this:
\src\component\ZAbstractRODataset.pas [Lines 3480 and following]:Code: Select all
{$IFDEF FPC} const BaseFieldTypes: array[TFieldType] of 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); {$ELSE} {$IFDEF VER180}...
svn co svn://zeos.firmos.at/zeos/branches/testing --> Revision 903IndianaJones wrote:Which revision are you talking, revision966, and which directory are you using? Still gives error.
Thanks.
svn co svn://zeos.firmos.at/zeos/trunk --> Revision 903
So which directory are you using to download Revision 966 ?
Regards.