Hello all, I posted several months ago about a bug involving the incorrect recognition of an enumerated type by the compiler, when the type was imported from a unit in two different modules. I understand that this bug was on the list of fixed bugs for gpc-19990118, but I still get exactly the same error! Has anyone else tested this bug under the current version? Sam B.
PS. I am running on redhat 5.0, configured as followes:
gpc -v
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/2.8.1/specs gpc version 19990118, based on gcc-2.8.1
And the error produced is:
gpc p.pas
p.pas: In function `program_P': p.pas:23: incompatible type for argument 1 of `U_proc'
Test program follows: --- begin test program --- unit e; interface type t_e = ( e_a, e_b ); implementation begin end.
unit u; interface uses e; procedure u_proc(e: t_e); implementation procedure u_proc; begin end; begin end.
program p; uses e, u; begin u_proc(e_a); end. --- end test program ---
______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com