Hello,
i'm facing this error:
enginedevice.pas(55,57) Error: Incompatible types: got "Pointer" expected "AnsiString"
with this code:
{ TGamepadDevice }
TGamepadDevice = class(TGameDevice)
// This is for da loop 2 on linux
tmpevent: TJoystickEvent;
f: file of TJoystickEvent;
path: string;
ff_path: string;
procedure Prepare; override;
procedure DoTerminate; override;
procedure Fetch; override;
function GetNameOfDeviceEvent(id: word): string; override;
// This Line
constructor Create(inputname: string; device: String{Here}; ff_device: string = nil);
destructor Destroy; override;
end;
And i am puzzled.. Cant I declare constructors the way i want anymore with fpc 2.7.1?!
Some opinions before i file a bug report?
Or did i miss an incredibly important feature?