16.08.2023 4:29, Garry Wood via fpc-devel пишет:
Hello,
Just letting you know that some recent changes seem to have broken “make
distclean” for source/utils
Please create a bug report.
Makefile.fpc in the source/utils folder contains the line:
CLEAN_TARGET_DIRS=$(subst /Makefile.fpc,
On 17.08.23 20:08, Michael Van Canneyt wrote:
[...]
Both FPC and Delphi create different classes for TDoubleBird and
TMyDoubleBird.
In Delphi they are not assign compatible, in FPC they are. For example:
var
a: TDoubleBird;
b: TMyDoubleBird;
begin
b:=TMyDoubleBird.Create;
a:=b; //
On Thu, 17 Aug 2023, Mattias Gaertner via fpc-devel wrote:
Hi,
FPC and Delphi handle type alias differently and I wonder if this was
deliberate.
type
TMyDouble = type double;
TBird = class
a: T;
end;
TDoubleBird = TBird;
TMyDoubleBird = TBird;
Both FPC and Delphi create
Hi,
FPC and Delphi handle type alias differently and I wonder if this was
deliberate.
type
TMyDouble = type double;
TBird = class
a: T;
end;
TDoubleBird = TBird;
TMyDoubleBird = TBird;
Both FPC and Delphi create different classes for TDoubleBird and
TMyDoubleBird.
In Delphi
Getting there! I'm having one sticking point, and that's with pure
functions of the following design:
procedure Factorial(N: Cardinal; out R: Cardinal); pure;
begin
if N < 2 then
R := 1
else
begin
Factorial(N - 1, R);
R *= N;
end;
end;
Because of