Am 07.03.2016 15:00 schrieb "Marco van de Voort" <mar...@stack.nl>: > > In our previous episode, Michael Van Canneyt said: > > 2. Provide Delphi-compatible dotted units, with string = widestring. > > > > Basically, the user has then 2 choices: > > 1. is the pre-delphi 2009 option, > > 2. is the Delphi 2009 and higher option > > > > Both units can be created using a single codebase quite easily. > > I take as example the sysutils unit: > > > > unit sysutils.pp contains {$IFDEF UNICODESTRING} to distinguish between > > unicode and non-unicode code. > > > > the dotter unit system.sysutils.pp is then the following simple file: > > > > {$mode delphiunicode} > > {$define UNICODESTRING} > > {$I sysutils.pp} > > > > The above is my personal preference, but other people in the core group may > > (and do) have different preferences. > > I usually use Delphi XE2+ with namespace prefix, and many with me. IMHO > requiring to change Delphi sources to dotted units is a nono.
Of course we are going to implement the namespace prefix as well... Regards, Sven
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel