2016-01-27 10:51 GMT+01:00 Ondrej Pokorny <laza...@kluug.net>: > > And then there is the problem with duplicate unit names. The Lazarus > version of your units could e.g. use an extra namespace. > > Maybe is good idea to follow Delphi standards and add System.* namespace for FPC RTL modules. Delphi allows following additional compiler switches to handle System namespace:
Unit scope names (-NS): -NSSystem.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;System;Xml;Data;Datasnap;Web;Soap;Winapi;Vcl;Vcl.Imaging Unit aliases (-A): -AGenerics.Collections=System.Generics.Collections;Generics.Defaults=System.Generics.Defaults;WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE For Lazarus could be added "Lazarus.*" namespace. -- Best regards, Maciej Izak
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel