Using the "-g" switch when building a program with long generic interface names results in internal error 2005091810
Original Reporter info from Mantis: SDN
-
Reporter name: SDN
Original Reporter info from Mantis: SDN
- Reporter name: SDN
Description:
Building the following program with debug info generation enabled results in internal error 2005091810. Presumably the generated identifiers are exceeding the allowable length limit, but a descriptive error message would be preferable to the current output.
program test;
{$mode objfpc}
type
generic IIncrediblyLongInterfaceNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaame<T> = interface
end;
generic TGenericImplementationOfLongInterfaceName<T> =
class(TInterfacedObject,
specialize IIncrediblyLongInterfaceNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaame<T>)
end;
TIWillBreakYou = specialize TGenericImplementationOfLongInterfaceName<Integer>;
begin
end.
Mantis conversion info:
- Mantis ID: 33069
- Build: 37980
- Platform: i386-win32
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 38319 (#048c2c09)