mailinglists at geldenhuys.co.uk
Fri Apr 3 12:58:51 CEST 2015
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.
- Graeme -
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
More information about the fpc-pascal