Hello all,
In the second pass gpc build without the "endian" errors. So far so good. But I still get this problem when opening files:
?GPC runtime error: (gpc-rts) _p_initfdr() has not been called for file (#701)
Frank suggested:
Not really with bindings, but anyway: There's a known bug "On IRIX work stations, _p_initfdr() must be called manually" on the To-Do list. So, I'm adding AIX there. I don't know anything about these architectures, but I agree that fixing this would be a good idea... :-/
I don't see how I can call _p_initfdr() manually. From within the Pascal program, the compiler complains when I call that function. When I try to call InitFDR (defined in p/rts/gpc.pas I thought), the compiler says:
txtfile.pas: In function `Assign': txtfile.pas:16: undeclared identifier `Initfdr' (first use this function) txtfile.pas:16: (Each undeclared identifier is reported only once txtfile.pas:16: for each function it appears in.)
So how do I call initfdr manually???
Nick