#1 Re: mORMot 1 » Latest mORMot.pas does not compile under latest FPC. » 2018-10-15 19:54:46

See the description of my pull request on https://github.com/synopse/mORMot/pull/133 .

FPC revision 39684 (during FPC 3.3.1 development) changed the way you have to access this information. In FPC revision < 39684, you must use "@VMP^.Name". In FPC revision >= 39684 you must use "VMP^.NamePtr".

The FPC revision 39684 happened during the FPC 3.3.1 development.

The patch from https://github.com/synopse/mORMot/pull/133 assumes that:

- You either use FPC 3.1.1.
- Or you use FPC 3.3.1 with revision >= 39684.

The original poster uses FPC 3.3.1, revision 39711. This should be supported. The VER3_1 should not be defined, and the correct approach ("VMP^.NamePtr") should be used.

(Note: I removed my earlier answer, I made a mistake there smile This answer is correct.)

Board footer

Powered by FluxBB