Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-2871

BlackTie core does not compile on Fedora 25

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.5.5.Final
    • Fix Version/s: 5.6.0.Final
    • Component/s: BlackTie
    • Labels:
      None

      Description

      BlackTie core no longer compiles after upgrading to Fedora 25 (from Fedora 23). The error is in the STL:

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

      The fix is to let the library infer the types of the pair being inserted, ie:

      tls_pools.insert(std::make_pair(os_th,tls_pool));
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mmusgrov Michael Musgrove
                Reporter:
                mmusgrov Michael Musgrove
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: