[fpc-devel] ConvUtils: question regarding Delphi compatibility. How to proceed?

Marco van de Voort fpc at pascalprogramming.org
Sun Jun 19 13:51:15 CEST 2022

On 19-6-2022 12:09, Bart via fpc-devel wrote:
> It feels a bit counter-intuïtive to me though.
> IMO it should simply not be allowed to call RegisterConversionType()
> with either of the TConversionProc parameters being nil, since that
> makes no sense to me, and it will inevitably lead to exceptions later
> on in the code.

Agreed.  This is not really a much used unit where extreme bug 
compatibility pays off. Better keep it straightforward.

More information about the fpc-devel mailing list