<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2016-01-27 10:51 GMT+01:00 Ondrej Pokorny <span dir="ltr"><<a href="mailto:lazarus@kluug.net" target="_blank">lazarus@kluug.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
And then there is the problem with duplicate unit names. The Lazarus version of your units could e.g. use an extra namespace.<span class=""><font color="#888888"><br>
<br></font></span></blockquote><div><br></div><div>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:</div><div><br></div><div>Unit scope names (-NS):</div><div>-NSSystem.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;System;Xml;Data;Datasnap;Web;Soap;Winapi;Vcl;Vcl.Imaging<br></div><div><br></div><div>Unit aliases (-A):</div><div>-AGenerics.Collections=System.Generics.Collections;Generics.Defaults=System.Generics.Defaults;WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE<br></div></div><div><br></div><div>For Lazarus could be added "Lazarus.*" namespace.<br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Best regards,<br>Maciej Izak</div></div></div>
</div></div>