[Lazarus] Lazarus Trunk - does it now require FPC 3.0?

Juha Manninen juha.manninen62 at gmail.com
Thu Jul 14 12:55:36 CEST 2016


On Thu, Jul 14, 2016 at 12:00 PM, Graeme Geldenhuys
<mailinglists at geldenhuys.co.uk> 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


More information about the Lazarus mailing list