overloading problems involving literals
Original Reporter info from Mantis: marco @marcoonthegit
-
Reporter name: Marco van de Voort
Original Reporter info from Mantis: marco @marcoonthegit
- Reporter name: Marco van de Voort
Description:
The test program is accepted by Delphi, but FPC says:
C:>fpc overloadingproblem.dpr
Free Pascal Compiler version 2.3.1 [2008/01/29] for i386
Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Win32 for i386
Compiling overloadingproblem.dpr
overloadingproblem.dpr(64,25) Error: Can't determine which overloaded function to call
overloadingproblem.dpr(66,4) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Mantis conversion info:
- Mantis ID: 10727
- Version: 2.3.1
- Fixed in version: 2.2.2
- Fixed in revision: 10985 (#64bad1e0)
- Target version: 2.2.2