Overloaded method not found in Delphi mode
Original Reporter info from Mantis: gozul
-
Reporter name: Gigapi
Original Reporter info from Mantis: gozul
- Reporter name: Gigapi
Description:
Hello,
With the source attached I have l'error:
Free Pascal Compiler version 2.3.1 [2009/05/02] for i386
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Win32 for i386
Compiling t2.lpr
t2.lpr(39,30) Error: Incompatible type for arg no. 1: Got "PChar", expected "Tb"
t2.lpr(49,29) Error: Incompatible type for arg no. 1: Got "PChar", expected "Tb"
t2.lpr(54) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
Error: i:\pp\bin\i386-win32\ppc386.exe returned an error exitcode (normal if you did not specify a source file to be compiled)
But it work in mode objfpc like:
{$IFDEF FPC}
{$mode objfpc}{$H+}
{$ENDIF}
Thanks in advance.
Mantis conversion info:
- Mantis ID: 13639
- Version: 2.3.1
- Fixed in version: 2.4.0
- Fixed in revision: 13079 (#5a09f585)