[fpc-pascal] -FNsystem

Marco van de Voort fpc at pascalprogramming.org
Thu May 27 13:45:22 CEST 2021


Op 2021-05-27 om 13:31 schreef Mattias Gaertner via fpc-pascal:
> There are some dotted units in fpc, e.g. system.uitypes.
> So it would be nice to have -FNsystem in the default fpc.cfg (Delphi
> compatible).
>
> What do you think?

In principle yes, but keep in mind that then probably first uitypes must 
be deleted from lazarus, so that there are no longer two units that 
match "uitypes".  That can happen in lazarus branches that don't have to 
support 3.0.4. (which doesn't have -FN)

On Windows I would also add "winapi", just to allow renaming at some 
point in the future. Same for "Data" (prefix of fcl-db generic units 
like db/dbcommon etc).

Other common ones are web , soap and xml, but afaik those are not 
compatible?

VCL units are prefixed with VCL (namespaces: 
Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell), so that will be a 
problem (stick to compatible VCL, or use LCL?)





More information about the fpc-pascal mailing list