pavkam/tzdb

Cannot compile TZDB.pas in Android and iOS platform due to usage of unit contnrs

ccy opened this issue · 7 comments

ccy commented

tzdb cannot compile in Android and iOS platform due to the usage of unit contnrs. I think TBucketList may be replaced by TDictionary.

Thanks for your bug report. @mbtaylor1982 you mind giving it a look? I've got not Delphi license.

@ccy, As far as I remember, the TBitBucket was used due to it being shared across Delphi and FPC. TDictionary was not compatible at the time. I am not sure now what is going on,

ccy commented

Your code base was designed to work for both Delphi and FPC. FPC might not have TDictionary.

I’m busy moving house and with work commitments right now but as soon as I’m free I’ll take a look.

ccy commented

I have done the fix: #6

Thanks @mbtaylor1982, no worries about it. @ccy, I'll give it a look.

Merged the PR