[jbossts-issues] [JBoss JIRA] (JBTM-2871) BlackTie core does not compile on Fedora 25

Michael Musgrove (JIRA) issues at jboss.org
Wed Mar 29 12:21:00 EDT 2017


     [ https://issues.jboss.org/browse/JBTM-2871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Issue was automatically transitioned when Michael Musgrove created pull request #1159 in GitHub
-----------------------------------------------------------------------------------------------
    Status: Pull Request Sent  (was: Open)


> BlackTie core does not compile on Fedora 25
> -------------------------------------------
>
>                 Key: JBTM-2871
>                 URL: https://issues.jboss.org/browse/JBTM-2871
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: BlackTie
>    Affects Versions: 5.5.5.Final
>            Reporter: Michael Musgrove
>            Assignee: Michael Musgrove
>             Fix For: 5.next
>
>
> BlackTie core no longer compiles after upgrading to Fedora 25 (from Fedora 23). The error is in the STL:
> {code}
>        [cc] /home/mmusgrov/work/source/forks/narayana/master/blacktie/core/src/main/cpp/ThreadLocalStorage.cxx:52:87: error: no matching function for call to 'make_pair(apr_os_thread_t&, apr_pool_t*&)'
>        [cc]            tls_pools.insert(std::make_pair<apr_os_thread_t, apr_pool_t*>(os_th,tls_pool));
> {code}
> The fix is to let the library infer the types of the pair being inserted, ie:
> {code}
> tls_pools.insert(std::make_pair(os_th,tls_pool));
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbossts-issues mailing list