According to Jim Brander:
The cygwin32 version of gpc gives "invalid operands to binary = " for comparison of types in following test program.
The compiled CygWin32 version of GPC is a little behind the current (beta) state, sorry. The program works well with more recent versions of GPC.
Until a recent CygWin32-GPC will be available, maybe an explicit type cast will help? I know that older versions of GPC have problems with subranges of enumerated types ...
Hope this helps,
Peter
Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [971005] maintainer GNU Pascal [971001] - http://home.pages.de/~gnu-pascal/ [971005]