Hello, I have the following module which doesn't work with gpc971001 (a known problem, see below): Module foo Interface; Export foo = (test1); procedure test1(addr : integer; float : real); end. { Interface } Module foo Implementation; procedure test1; begin writeln(addr); writeln(float); end; end. with unpatched 971001 I get: coltrane:~> gpc -c nsl.pas nsl.pas: In function `Test1': nsl.pas:14: undeclared identifier `Addr' (first use this function) [...] nsl.pas:15: undeclared identifier `Float' (first use this function) [...] Then I applied the patch of Nov. 10 for module.c posted by Peter to the list -- which I thought would fix this problem, and I get: coltrane:~> gpc -c nsl.pas nsl.pas:15: undeclared identifier `Float' (first use this function) [....] Is there another patch that needs to be applied to make both identifiers available to the implementation? -Kevin -- Kevin A. Foss --- kfoss@mint.net --
participants (1)
-
Kevin A. Foss