According to Phil Robertson:
I've ran into a problem compiling separate UNITS using "borland-pascal" style syntax. Essentially individual elements in an ENUM declared in an INTERFACE are not "recognized" by gpc-2.0:
I could reproduce this bug - and fix it. The next alpha release of GPC - perhaps this weekend ... or maybe we should start to call it a "beta" release ... - will compile your programs correctly.
I assume no "type cast" error is reported since full pascal type/range checking is not as yet implemented.
Indeed. I fixed this, too.
Thanks for reporting these bugs,
Peter
Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [970201] maintainer GNU Pascal [970510] - http://home.pages.de/~gnu-pascal/ [970125]