On 11 Oct 2001, at 14:17, CBFalconer wrote:
PascalP is fairly stringent.
To which Pascal standard? There are several.
My question is: why does GPC fail to pick up these errors?
Because it's not an error in "GNU Pascal," which is what GPC compiles by default.
Do I have to do some configuration to get it conformant?
Try "gpc -c --standard-pascal test.pas" for conformance with ISO-7185.
See:
http://agnes.dida.physik.uni-essen.de/~gnu-pascal/gpc_101.html#SEC101
for additional "conformance" options.
-- Dave