[fpc-pascal] Integer = Extended?

2007-05-16 Thread Wolfram Kläger
WhatŽs wrong with the following declarations: function Any(A1 : Extended; A2 : Extended) : AnyType; overload; function Any(A1 : Integer; A2 : Integer) : AnyType; overload; FPC 2.04 on Win32 says, both functions have same parameter list. Consequently, there is no error message, when IŽm feeding

Re: [fpc-pascal] Integer = Extended?

2007-05-16 Thread Daniël Mantione
Op Thu, 17 May 2007, schreef Wolfram Kläger: > What?s wrong with the following declarations: > > function Any(A1 : Extended; A2 : Extended) : AnyType; overload; > > function Any(A1 : Integer; A2 : Integer) : AnyType; overload; > > FPC 2.04 on Win32 says, both functions have same parameter lis