[fpc-devel] round(variant) needs type cast
    Micha Nelissen 
    micha at neli.hopto.org
       
    Tue Apr 17 09:28:21 CEST 2007
    
    
  
Jonas Maebe wrote:
> 
> On 16 apr 2007, at 23:14, Vincent Snijders wrote:
> 
>> Why does the same source compile on win32, but fail on win64?
> 
> Because we do no support the extended type on win64, and the priority 
> for overload choosing between double and currency is the same for 
> variants (as in Delphi), and there is a round(double) and a 
> round(currency). You get the same error on any non-x86 platform as well.
Is your conclusion that this is a feature, not a bug ?
Micha
    
    
More information about the fpc-devel
mailing list