Hey there,
I don't know precisely when, but at least from fpcsrc rev 47406(trunk @ 2020/11/13) there are 6 more fields in TFieldType on fpcsrc/packages/fcl-db/src/base/db.pas
The new ones are:
ftOraTimeStamp, ftOraInterval, ftLongWord, ftShortint, ftByte, ftExtended
For this fact src/component/ZAbstractRODataset.pas at around line 5318 will fail to compile by not having any equivalent.
I've temporarily fixed this by doing the following at around line 5318 of file src/component/ZAbstractRODataset.pas :
{$IF FPC_FULLVERSION >= 30301} , ftUnknown, ftUnknown, ftUnknown, ftUnknown, ftUnknown, ftUnknown // 40..45 {$ENDIF}
This allows ZAbstractRODataset.pas to compile. I haven't tested if it goes boom anywhere else.
This is a terrible hack and needs a bit more brain power to fix than I have now. Sorry for not suggesting a proper solution!
Hope this helps!
Cheers,
Gus
Diff:
Thanks for reporting, should be fixed for Zeos8 by: r7102