[fpc-pascal] Implicit conversion problem with TDate type

Tony Whyman tony.whyman at mccallumwhyman.com
Wed Nov 2 12:09:36 CET 2016


It's an interesting concept i.e. if a bug exists in Delphi then it must 
also exist in FPC. Perhaps a better alternative is to fix these sort of 
bugs in FPC and  to introduce a "full Dephi compatibility mode" i.e. 
mode Delphi plus the bugs.


On 02/11/16 11:04, Gabor Boros wrote:
> 2016. 11. 02. 11:38 keltezéssel, Michael Van Canneyt írta:
>> If Delphi prints another result, then we can look at fixing the
>> implementation.
>
> With Delphi 10.1 and "D: TDate;" the result is "date is 5" and with 
> "D: TDateTime;" the result is "date is 7". So, the results are same 
> with FPC and Delphi.
>
> Gabor
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>




More information about the fpc-pascal mailing list