On Thu, Jul 14, 2016 at 12:00 PM, Graeme Geldenhuys <[email protected]> wrote: > {$IF FPC_FULLVERSION < 30000} > {$ERROR needs at least FPC 3.0} // <------ compiler error > {$ENDIF}
My bad. This one unit needs FPC 3 (or Delphi) to be useful. I first added it to repository. It was not used by any existing code -> no problems. Then I added it to LazUtils package for a new test project. The package compilation indeed failed with FPC 2.6. Anyway, the LazUnicode unit is cool! It allows encoding agnostic code and makes the UTF-8 / UTF-16 arguments irrelevant. Juha -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus-ide.org/listinfo/lazarus
