#1 2020-01-26 08:12:00

slapshot
Member
Registered: 2020-01-21
Posts: 17

Which FPC + Lazarus version

Hello, I'm starting a new Linux server project and I would like to use this incredible framework. I searched here and in Lazarus/FPC forum to get the source and having the right version of FPC and Lazarus to compile and use it. I found controversial svn Number version to use so I'm asking here  preferred method to get the things work. I have Linux and Windows workstation to write and test my code.

My question is: is it better to have SVN snapshot of all, FPC+Lazarus+mormot, such often happens for open source code? Further if not, is there a web updated Page where are info about how to have the lastest working version ?

Thank you very much.

Offline

#2 2020-01-26 10:40:31

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,258
Website

Re: Which FPC + Lazarus version

The exact revision we currently use and support is documented here:
https://synopse.info/files/html/Synopse … l#TITL_203

Trunk should work - if you define FPC_PROVIDE_ATTR_TABLE conditional.
Edit the line #262 of Synopse.inc:

  {$if not defined(VER3_0) and not defined(VER3_2) and not defined(VER2)}
    {$define FPC_PROVIDE_ATTR_TABLE} // to be defined since SVN 42356-42411
    // on compilation error in SynFPCTypInfo, undefine the above conditional
    // see https://lists.freepascal.org/pipermail/fpc-announce/2019-July/000612.html
  {$ifend}

I updated the documentation to reflect this information about trunk.

Offline

Board footer

Powered by FluxBB