Prof A Olowofoyeku (The African Chief) wrote:
On 22 Feb 2005 at 3:19, Frank Heckenbach wrote:
Prof A Olowofoyeku (The African Chief) wrote:
It seems that MaxLongint is declared twice in system.pas (once by importing from the GPC unit, and once by explicit declaration). I think one of them should go.
The imported one is renamed:
import GPC (MaxLongInt => GPC_MaxLongInt);
So the explicit declaration is valid (and necessary if BP types sizes are wanted).
Did you get an error about it?
Yes - about "bad import" and "redeclaration of `MaxLongint'". But the problem happened becauses of mixing "import" and "uses", which I have now changed.
Did you import/use both `GPC' and `System', or what did you do?
Frank