[fpc-pascal] Re: [Bulk] Re: Namespaces Support

Dmitry Boyarintsev skalogryz.lists at gmail.com
Tue Oct 29 20:51:39 CET 2013


On Tue, Oct 29, 2013 at 8:02 AM, Marcos Douglas <md at delfire.net> wrote:

> You didn't understand.
> The namespace we talk about is like a "dinamic namespace". The
> programmer can choose which "names" he will use in your projects when
> these projects are using third-party frameworks.
> In Java, eg, you can change the path of frameworks, changing the
> "namespace", without change the original sources.
>
I thought I did, but named it differently.
Isn't what you're trying to explain is suggestion #3 at this page?
http://wiki.freepascal.org/Namespaces

Instead of modifying the code (i.e. by switching to namespaces)
You would like to give then compiler a hint what unit should be used when
compiling a unit.

In other words, you'd like to unit-specific -Fu, that should override the
project -Fu.
Right? or am I still misunderstanding.

thanks,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20131029/16a34f43/attachment.html>


More information about the fpc-pascal mailing list