Kocherlakota Harikrishna wrote:
We have some problems in compilation of BP sources with GPC on Red Hat Linux. The following peice of code in our source is giving copilation problem
procvar = procedure; const nilproc : procvar = nil;
BP supports assinging pointer values to procedure types and we find that GPc doesnot support it.
Expecting your advice on solving the above.
This works with recent GPC versions (since 20000213, IIRC). I just tested the following program successfully:
program Foo;
type procvar = procedure;
const nilproc : procvar = nil;
begin end.
Frank