You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King, III (JIRA)" <ji...@apache.org> on 2017/12/14 13:55:19 UTC

[jira] [Closed] (THRIFT-4262) Invalid binding to InterlockedCompareExchange64() with 64-bit targets

     [ https://issues.apache.org/jira/browse/THRIFT-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James E. King, III closed THRIFT-4262.
--------------------------------------

> 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)