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

Paul Ishenin webpirat at mail.ru
Mon Apr 15 13:43:58 CEST 2013



15.04.13, 19:26, Mattias Gaertner пишет:

> How is the namespace passed to the compiler?

This is not supported by FPC at the moment but will be implemented 
before hackaton or on hackaton (probably).

There will be a compiler switch similar to dcc32 -NS switch where you 
wlil pass namespaces which needs to be checked for short identifiers.

E.g.:

program test;

uses
   SysUtils;

begin
end.

If we compile this with
dcc32 -NSSystem delphi will find System.SysUtils instead of SysUtils. 
Without this switch recent delphi will give an error because now delphi 
RTL has no SysUtils unit - it has System.SysUtils.

Best regards,
Paul Ishenin




More information about the Lazarus mailing list