2 Jun
1999
2 Jun
'99
9:06 a.m.
Hello, I found the following bug in the Beta version of GPC. Best regards, Peter Dietrich -------------------- GPC-Version (gpc -v): Reading specs from C:\usr\local\lib\gcc-lib\i386-mingw32\2.8.1\specs gpc version 19990118, based on gcc-2.8.1 System-Version: Windows NT 4.0 on i386 Problem description: GPC does not accept conformant array bounds of enum types. The following program results in the compiler error message: test1.pas: In function `program_Test': test1.pas:13: incompatible type for argument 1 of `P' test1.pas:13: incompatible type for argument 2 of `P' program test (output); type t = (red,green,blue); procedure p (a : array[lb..ub:t] of char); begin end; var a : array[t] of char; begin p (a); end.