On Fri, 3 Apr 2015, Graeme Geldenhuys wrote:
On 2015-04-03 11:52, Michael Van Canneyt wrote:
I don't think the command-line option already exists, but the dotted unit
names are treated as namespaces. I remember some discussions about it with Paul
Ishenin.
So that answers my original question, that FPC still doesn't support
namespace functionality like Delphi. :-) You can't specify the namespace
scope, so the compiler cannot know which units to use if there are
multiple units with the same partial qualified unit names. So currently
it is just a cosmetic "thing" (fancy unit names) in FPC.
I think you'll find it's slightly more complicated than that,
there is more involved than just fancy unit names.
The namespace directive/command-line option is just the cherry on top :)
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal