[fpc-pascal] Feature announcement: default namespaces
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon May 7 10:35:22 CEST 2018
On Sat, 5 May 2018 19:23:04 +0200
Sven Barth via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>[...]
> I'm pleased to announce the implementation of a new feature: default
> namespaces.
Nice!
Dotted unit names without that felt so stupid.
>[...] Nevertheless the prefix of such a unit (in my example "MyUnits") is called a namespace.
Fun fact: Delphi help sometimes calls it "unit scope names". ;)
>[...]
> The compiler is told about a default namespace using the new -FN<x>
> parameter,
Lazarus now checks for the -FN flag in the custom compiler options.
Can you add a message similar to "Using unit path:"?
Then Lazarus can find out what default namespaces are defined by the
fpc.cfg.
Mattias
More information about the fpc-pascal
mailing list