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.

Just for reference, here is the Namespace Prefixes option in Delphi's
project options. See the screenshot.

  https://sergworks.wordpress.com/2011/08/09/dotted-unit-names-in-delphi/


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to