[Lazarus] Function overloading under 32/64bit

t.wieckowski at gmail.com t.wieckowski at gmail.com
Sun Apr 17 14:36:16 CEST 2011


I've a strange problem. My app compile (fpc 2.4.2) ok under Win32 and
x64-Linux. Now I try to compile under MS Vista 64 and I get this
error:

main.pas(132,13) Error: Function is already declared Public\Forward
"IsNa(const Double):Boolean;"

function declatarion are:
  function  IsNa(const val: extended): boolean; overload;
  function  IsNa(const val: double): boolean; overload;

and unit have {$mode objfpc} (in delphi mode is the same problem)

what happens ?

best regards
Tomek




More information about the Lazarus mailing list