function TObject.UnitName does not work any more
Original Reporter info from Mantis: Thaddy
-
Reporter name: Thaddy de Koning
Original Reporter info from Mantis: Thaddy
- Reporter name: Thaddy de Koning
Description:
The function function Tobject.Username does not work any more on Raspbian.
It returns either garbage or nothing at all.
This also breaks Lazarus into an unusable state.
Steps to reproduce:
Compile this on Raspbian 10, armhf:
program test;
{$mode delphi}
uses classes;
begin
Test();
O := TObject.Create;
writeln(O.UnitName);
end.
Outputs:
System(�
IUnknown�FSystem��`�
TClassX�
Additional information:
This is discovered by rvk in a forum topic related to not being able to use Lazarus.
Reproduced by many.
Lazarus is broken because of it,