Fatal: Internal error 200408162
Original Reporter info from Mantis: bee
-
Reporter name: Bee Jay
Original Reporter info from Mantis: bee
- Reporter name: Bee Jay
Description:
Compiling this code
---
program test_intf_query;
{$IFDEF FPC}
{$MODE OBJFPC}{$H+}
{$ENDIF}
uses
Classes;
type
ISimple = interface
['{24811FF3-4F01-4601-AC5C-22A5B5D46928}']
function ShowSomething: Integer; cdecl;
function GetIsBlob: Boolean; cdecl;
end;
TSimple = class(TInterfacedObject, ISimple)
protected
{ ISimple implementation }
function ShowSomething: Integer; cdecl;
function GetIsBlob: Boolean; cdecl;
end;
function QuerySimple(const OnChange: TNotifyEvent = nil): ISimple; cdecl;
begin
Result := TSimple.Create;
end;
function TSimple.ShowSomething: Integer; cdecl;
begin
Writeln('Message from ISimple');
Result := 0;
end;
function TSimple.GetIsBlob: Boolean; cdecl;
begin
Result := true;
end;
{*** main program ***}
var
FSimple: ISimple;
begin
FSimple := QuerySimple;
FSimple.ShowSomething;
end.
---
raising "Fatal: Internal error 200408162".
Additional information:
FPC v.2.2.0, v.2.2.1, v.2.3.1, on Linux (Ubuntu Gutsy) and Windows (XP SP2), on i386 machine.
Mantis conversion info:
- Mantis ID: 10684
- Version: 2.3.1
- Fixed in version: 2.4.0
- Fixed in revision: 12828 (#67d1604c)