[fpc-pascal] reporting bugs? ... fpc 1.9.4 crash

David Emerson dle3ab at angelbase.com
Sat Nov 20 21:30:59 CET 2004


Is there a better place to post bugs, outside the list?


Well, regardless, here it is...

fpc 1.9.4 crashes with the following source. Of course, my bug was easy enough to find/fix, but it looks bad when the compiler crashes! Not a bug in 1.0.10.

Synopsis: index variable "ix" has not been declared. Try to access an array element via this index, and write said element to a file.


var
   array_of_longint : array [0..5] of longint;
   longint_file : file of longint;

begin
   for ix := 0 to 5 do
      write (longint_file, array_of_longint[ix]);   // line 7
end.



Free Pascal Compiler version 1.9.4 [2004/05/30] for i386
Copyright (c) 1993-2004 by Florian Klaempfl
Target OS: Win32 for i386
Compiling test.pas
test.pas(6,6) Error: Identifier not found "ix"
test.pas(7,41) Error: Identifier not found "ix"
Compilation aborted test.pas:7
Runtime error 216 at $00472D7B
  $00472D7B
  $00474F32
  $004C95E0
  $004C96A1
  $0046B074
  $0046A501
  $0046C445
  $0046C456
  $0046C456
  $0046C456






More information about the fpc-pascal mailing list