Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FastMM 4.86 doesn't compile with Delphi 5

17 views
Skip to first unread message

Ulrich Kobsa

unread,
Aug 6, 2008, 5:24:27 AM8/6/08
to
Hi,

version 4.86 doesn't compile with Delphi 5 cause of an invalid use of
compiler directives:

Line 7348:

{$ifdef Delphi6AndUp}
{$if RTLVersion >= 20}
LElemSize := PStrRec(LDataPtr).elemSize;
{$else} <-- not allowed
LElemSize := 1;
{$ifend}
{$else}
LElemSize := 1;
{$endif}

is not allowed (according Delphi 2007 Help for IFEND). One has to
replace the $else with $elseif TRUE:

{$ifdef Delphi6AndUp}
{$if RTLVersion >= 20}
LElemSize := PStrRec(LDataPtr).elemSize;
{$elseif TRUE} <-- fix
LElemSize := 1;
{$ifend}
{$else}
LElemSize := 1;
{$endif}

kind regards,
Ulrich

Pierre le Riche

unread,
Aug 6, 2008, 6:48:39 AM8/6/08
to
Hi Ulrich,

> version 4.86 doesn't compile with Delphi 5 cause of an invalid use of
> compiler directives:

Thanks, that has already been fixed internally.

Regards,
Pierre

0 new messages