Free Pascal Compiler version 3.0.0 [2015/11/16] for i386
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling foo.pas
foo.pas(39,8) Error: Incompatible types: got "Boolean" expected "Array[0..1000010] Of Boolean"
foo.pas(40,4) Error: Incompatible types: got "Array[0..4000010] Of LongInt" expected "LongInt"
foo.pas(42,21) Error: Operator is not overloaded: "Array[0..1000010] Of Int64" + "LongInt"
foo.pas(43,19) Error: Operator is not overloaded: "Array[0..1000010] Of Int64" + "LongInt"
foo.pas(70,8) Error: Incompatible types: got "Boolean" expected "Array[0..1000010] Of Boolean"
foo.pas(71,4) Error: Incompatible types: got "Array[0..4000010] Of LongInt" expected "LongInt"
foo.pas(73,21) Error: Operator is not overloaded: "Array[0..1000010] Of Int64" + "LongInt"
foo.pas(74,19) Error: Operator is not overloaded: "Array[0..1000010] Of Int64" + "LongInt"
foo.pas(107,4) Fatal: There were 8 errors compiling module, stopping
Fatal: Compilation aborted
Error: C:\FPC\3.0.0\bin\i386-win32\ppc386.exe returned an error exitcode