Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
From: The Chief
Subject: FPC compiler bug: functional parameter invocation
Date: 3 Apr 2008, 19:36:56
On 3 Apr 2008 at 10:59, Régis Cridlig wrote: > Hello! > > This short program compiles without a warning, but crashes at execution. > The compiler is FPC 2.2 on the win32 platform. > > program Crashes(input,output); > > function B(l:integer):boolean; > begin > B:=true; > end; > > procedure Q(j:integer;function A(l:integer):boolean); > > function E(l:integer):boolean; > begin > E := false > end; > > begin > if A(j) then > Q(200,E); > end; > > begin > Q(100,B); > end. > > This is the compiler command: > $ gpc --classic-pascal -g -Wall crashes.p Which GPC version are you using? Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/
Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
| Author | Subject | Date |
|---|---|---|
| Régis Cridlig | FPC compiler bug: functional parameter invocation | 3 Apr 2008, 10:59:45 |
Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.
Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.
This page was created by Crystal 0.999 (Linux 2.4.27/i686).