FastMM4 icon indicating copy to clipboard operation
FastMM4 copied to clipboard

64bit Delphi 10.3 does not compile

Open TonyHoyle opened this issue 7 years ago • 3 comments

Some new functions have been added to the vmt for the 64bit compile. system.pas just calls them 'cpp_abi_1' etc. so they're not documented, but fastmm won't compile unless you add them.

I added the following to StandardVirtualMethodNames after 'Destroy':

{$IFDEF WIN64} ,'CPP_ABI_1', 'CPP_ABI_2', 'CPP_ABI_3' {$ENDIF}

TonyHoyle avatar Jan 04 '19 18:01 TonyHoyle

I have tried the above with 10.3 Rio X64.

FastMM4 without those extra lines compiles just fine.

In fact, adding them fails compilation.

adem0x avatar Mar 28 '19 12:03 adem0x

Any movement? We just maintain our own internal branch for this fix, but would rather not have to.

TonyHoyle avatar Oct 01 '19 13:10 TonyHoyle

Hi Tony,

I cannot reproduce this. I tested with the 64-bit Rio 10.3 compiler and did not get any errors. Are you using the latest source from the repository?

Pierre

pleriche avatar Nov 12 '19 15:11 pleriche