Bug: variable declared in a unit and

Frank Heckenbach frank at g-n-u.de
Sun Apr 13 22:01:32 CEST 2003

Jean-Pierre Vial wrote:

> Le Dimanche 13 Avril 2003 19:29, vous avez écrit :
> > So, where's a warning?
> >
> I thought that this was a warning :
> > > gimpragr.pas:21: redeclaration of `l132'
> > > gdeclaz.pas:6:  previous declaration
> maybe it is an error and not a warning, but that is not better.

It explains why the program won't compile.

> Is masking previous definitions now illegal ?

Not supporting the same global identifier in different modules is
one of the most well-known GPC bugs (in the context of missing
"qualified identifiers"). Maybe such things work in some occasions
in some GPC versions, but generally this can not be expected to


Frank Heckenbach, frank at g-n-u.de, http://fjf.gnu.de/, 7977168E
GPC To-Do list, latest features, fixed bugs:
GPC download signing key: 51FF C1F0 1A77 C6C2 4482  4DDC 117A 9773 7F88 1707

More information about the Gpc mailing list