You are not logged in.
Pages: 1
Hi,
mORMot is not compiling with last version of FPC because of error in the SynFPCTypInfo unit.
Do anyone know a workaround?
Last edited by okoba (2019-09-29 13:42:36)
Offline
See documentation.
FPC trunk is often unstable so trunk revision 40491 is recommended.
Offline
Trunk is indeed unstable... for instance, Windows is broken since a few days...
Trunk has new RTTI for attributes, so RTTI layout changed.
We have preliminary support for it, but it is not fully working now (some more testing to do).
You can try to use mORMot with the Trunk version if you define FPC_PROVIDE_ATTR_TABLE line 262 of Synopse.inc.
Offline
I am working on it ... but there still remains a single issue with dynamic arrays (rtti) that remains to be solved.
Offline
ab, defining FPC_PROVIDE_ATTR_TABLE does not solve the problem.
"SynFPCTypInfo.pas(109,3) Fatal: Syntax error, "BEGIN" expected but "[" found"
AOG, it will be very useful to have it as Trunk has more new options.
Offline
Pages: 1