[fpc-pascal] Feature announcement: default namespaces

Sven Barth pascaldragon at googlemail.com
Mon May 7 11:24:28 CEST 2018


Mattias Gaertner <nc-gaertnma at netcologne.de> schrieb am Mo., 7. Mai 2018,
10:35:

> 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.
>
So you are one of those that supported/wanted that feature :P

>[...] 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". ;)
>
Maybe we should use that terminology as well *shrugs*

>[...]
> > 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.
>

Can do that :)

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20180507/36a60c5d/attachment.html>


More information about the fpc-pascal mailing list