Toby Ewing wrote:
I compiled the above code, and got the same error: frank.pas: In main program: frank.pas:12: reference expected, value given frank.pas:12: reference expected, value given frank.pas:12: tree check: expected class 't', have 'x' (error_mark) in require_complete_type, at p/typecheck.c:63 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.gnu-pascal.de/todo.html for instructions.
If more recent versions of gpc have fixed this, please tell me! I'm currently running version 20030507, based on gcc-3.2.2
You might try 20030830, but it might also be a change I made afterwards. Since this bug doesn't seem too important, you might just want to wait for the next time you upgrade anyway, and then recheck it if you like, but I suppose it's fixed then. (toby2.pas, just to be sure.)
Frank