According to FPL:
I downloaded rand.pas file on agnes as adviced by GPC Guru, and this one does not pass through the gpc --automake trial.
Don't you think this part of code (line 113)
PROCEDURE SRand(Seed:Cardinal); C; FUNCTION GetPID:Integer; C;
should be thus written:
PROCEDURE SRand(Seed:cardinal); C; FUNCTION GetPID:cardinal; C;
It should not matter, but seemingly it does in gpc-971001. This problem is fixed in newer (alpha) versions, currently only available in source code.
(as cardinal being a c long int, [...])
`Cardinal' is `unsigned int' in C; to get `long int' and `unsigned long int', use `MedCard' or `MedInt' (which is the same as `Cardinal' and `Integer' on most systems). (See also `info -f gpc -n "Integer types"'.) Peter -- Peter Gerwinski, Essen, Germany, free physicist and programmer Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - 1 Oct 1997 PGP key fingerprint: AC 6C 94 45 BE 28 A4 96 0E CC E9 12 47 25 82 75 Fight the SPAM! - http://maps.vix.com/