Hello!
I am using gpc version 970624(2.7.2.3) and I think there is something wrong.
I have one Borland Pascal style unit, with the following text:
def.p file:
UNIT modul; INTERFACE
TYPE CARDINAL = 0..65535; LONGBITSET = SET OF 0..63;
IMPLEMENTATION
END.
and I use it in the following program as I show:
test.p file:
program test; USES modul; var i:CARDINAL; c:LONGBITSET; begin c:=[1]; i:=1; if (i in c) then writeln('yes'); end.
I compile them (gpc -c def.p, gpc test.p) and the following error is displayed:
gpc: Internal compiler error: program gpc1 got fatal signal 11
when everything should work fine! what's wrong?
Thank you
Jose Oliver Gil - mailto: joliver@gap.upv.es Grupo de Arquitecturas Paralelas - DISCA Universidad Politécnica de Valencia - Spain
UNIT modul; INTERFACE
TYPE CARDINAL = 0..65535; LONGBITSET = SET OF 0..63;
IMPLEMENTATION
END.
program test; USES modul; var i:CARDINAL; c:LONGBITSET; begin c:=[1]; i:=1; if (i in c) then writeln('yes'); end.