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 work.
Frank