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

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to