GPC Question (or bug)_(re)

Fri, 23 May 1997 01:39:14 +0200 (MET DST)


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]


Peter Gerwinski (peter@agnes.dida.physik.uni-essen.de)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es