hi list,
the code below compiled and worked with fpc 2.2.x. With fpc 2.4.0 compilation fails with "Division by zero".
---- 8< ----
program divsucc;
begin
writeln( 256 DIV succ(255) );
end.
---- 8< ----Free Pascal Compiler version 2.4.0 [2009/12/18] for i386 Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Win32 for i386
Compiling divsucc.pas
divsucc.pas(4,16) Error: Division by zero
divsucc.pas(7) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted
Comments? Hints?
kisda
