[
https://issues.apache.org/jira/browse/THRIFT-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer resolved THRIFT-4262.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.11.0
Committed.
> Invalid binding to InterlockedCompareExchange64() with 64-bit targets
> ---------------------------------------------------------------------
>
> Key: THRIFT-4262
> URL: https://issues.apache.org/jira/browse/THRIFT-4262
> Project: Thrift
> Issue Type: Bug
> Components: Delphi - Library
> Environment: Windows, Delphi compiling to 64 bit targets
> Reporter: Jens Geyer
> Assignee: Jens Geyer
> Fix For: 0.11.0
>
> Attachments:
> 0001-THRIFT-4262-Invalid-binding-to-InterlockedCompareExc.patch
>
>
> There is an incorrect reference to the WinApi
> {{InterlockedCompareExchange64()}} which must actually be linked differently
> for 32 and 64 bit targets. The current code tries to link that function
> statically, which lets the 64 bit application immediate terminate during
> startup due to the unsatisfied static binding.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)