[fpc-pascal] Plans to support various ISO modes
Marco van de Voort
marcov at stack.nl
Sun Oct 22 20:03:29 CEST 2017
In our previous episode, Sven Barth via fpc-pascal said:
FPC ISO modes are primarily geared to recompiling complaint code, not to
reject standards corner cases.
> 5. Doesn't implement conformant arrays
> It might be that these are supported in trunk as well, but I'm not sure.
(Afaik conformant arrays are an optional part of standard pascal)
> Trunk supports Standard Pascal good enough that the P5 code can be compiled
> without changes. And yes, the end goal is to have full support for both
> standards (especially for ExtPas, which is still in its infancy, patches
> are welcome).
Another problem that I can remember with iso mode is that there was some
problem with passing fields that are in a variant records node to VAR
parameters and while probably nonstandard, some versions of P4 relied on
taking the ORD() of a pointer for pointermath.
More information about the fpc-pascal