[fpc-pascal] FPC fixes3.2 gives error on "NWord div 2 * 2"

Bart bartjunk64 at gmail.com
Sun Feb 17 23:09:33 CET 2019


On Sun, Feb 17, 2019 at 10:14 PM AlexeyT <aaa5500 at ya.ru> wrote:

> this is fixed to avoid %subj% compile error. why error?

{$mode objfpc}
{$h+}
var
  NSec: Word;
begin
  NSec:= NSec div 2 * 2;
end.

Compiles with trunk (regardles of mode).

-- 
Bart



More information about the fpc-pascal mailing list