[Lazarus] FPDoc Editor fails on namespace dotted unit names?

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Apr 15 13:26:28 CEST 2013


On Mon, 15 Apr 2013 12:07:19 +0100
Graeme Geldenhuys <graeme at geldenhuys.co.uk> wrote:

> On 14/04/13 08:59, Mattias Gaertner wrote:
>[...]
>    tiThread.pas
>    FMX.tiThread.pas
> 
> Now the developer could simply use tiThread in the uses clause of
> FireMonkey code, because his FireMonkey apps define the FMX namespace,
> so the compiler and IDE knew which tiThread unit to use. No IFDEF's
> required!
>[...]
> That way we don't need $IFDEFs, just "FMX" in the project unit scope
> names list. In fact, I don't recall seeing a compiler directive to
> distinguish FMX and VCL.
> Units are often given the prefix. Eg. Vcl.Forms and FMX.Forms.

How is the namespace passed to the compiler?

> PS:
> I'm not sure if Free Pascal already supports such namespace / unit scope
> yet.


Mattias




More information about the Lazarus mailing list