According to Jesper Lund:
[...] This is my first mail to the list, so first of all: THANKS for a GREAT pascal compiler!
Thanks for the feedback! Getting e-mails like this is highly motivating. :-)
However, the current version (970714; DJGPP version) cannot compile (correctly) some programs with user-defined types. [...]
There is a similar (related) problem with procedural parameters (and types). [...]
I could reproduce both bugs and fix them in my current development snapshot. A new beta release is :(still): in preparation. Thanks for the report and for the helpful example programs.
mainprg.pas: In function `program_Mainprg': mainprg.pas:14: warning: passing arg 1 of `Proc2' from incompatible pointer type
It is "only" a warning, and an .exe file is produces, but somestimes the program crashes (not here, though).
This is unrelated; the warning can be safely ignored. The bug causing the crash must be somewhere else in your program. Good luck with it! ;-)
Greetings,
Peter
Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [970201] maintainer GNU Pascal [970714] - http://home.pages.de/~gnu-pascal/ [970125]