Am 25.12.2013 19:19 schrieb "Marcos Douglas" <[email protected]>: > > Since that means typically two per target, it was suggested to combine this > > using dotted unit functionality. > > I did not understand this... dotted unit functionality?
Delphi XE 2 with the introduction of FireMonkey switched from normal unit names for the RTL to dotted ones (aka unit namespaces). E.g. SysUtils and Classes became System.SysUtils and System.Classes respectively, the Windows units moved into a Windows "namespace" (AFAIK) and Forms became VCL.Forms. Now the XE2 IDE and command line compiler also provide the possibility to specify multiple default namespaces (e.g. a VCL application would have System and VCL) to ensure backwards compatibility. Now the idea is to have dotted units in FPC where String=UnicodeString and the legacy non-dotted ones where String=AnsiString. That only leaves out Delphi 2009 and XE compatibility (which uses non-dotted UnicodeString units), but that's a small price IMHO. Also there are a few further problems that need to be tackled with that approach. Regards, Sven
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
