[fpc-pascal] Info about the -Mdelphi mode
michael
michael at freepascal.org
Thu Apr 23 11:53:02 CEST 2026
On 2026-04-22 08:55, Graeme Geldenhuys via fpc-pascal wrote:
> Hi,
>
> I was reading the latest documentation
> (https://www.freepascal.org/docs-html/
> user/userse35.html) and noticed the following:
>
>> The Delphi mode of the compiler tries to mimic Delphi as
>> closely as possible.
>
> and
>
>> Delphi compatibility is relatively complete up to Delphi 7.
>> New constructs in higher versions of Delphi (notably, the
>> versions that work with .NET) are not supported.
>
>
> Delphi 7 and Delphi.NET are extremely old by 2026 standards. Is there
> currently a definitive Delphi version that FPC aims to be compatible
> with?
> Additionally, is there a formal roadmap or list of modern language
> features
> that the team is currently cloning or aiming to implement in -Mdelphi
> mode?
There is a patch to add ternary support waiting in the MR list.
Other than that I have no knowledge of missing delphi things except
inline variables.
Michael.
More information about the fpc-pascal
mailing list