pleriche / FastMM4

A memory manager for Delphi and C++ Builder with powerful debugging facilities
447 stars 158 forks source link

64bit Delphi 10.3 does not compile #66

Open TonyHoyle opened 5 years ago

TonyHoyle commented 5 years ago

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}

adem0x commented 5 years ago

I have tried the above with 10.3 Rio X64.

FastMM4 without those extra lines compiles just fine.

In fact, adding them fails compilation.

TonyHoyle commented 5 years ago

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

pleriche commented 5 years ago

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