Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-118607

Boost thread future fails to build with clang-19 or newer

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • boost-1.83.0-6.el10
    • No
    • Moderate
    • 1
    • rhel-pt-cpp-libs
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • CentOS Stream
    • PT C++ Libraries 2026 S03
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      What were you trying to do that didn't work?

      Building something with clang-19 that uses boost/thread/future.hpp will fail

       

      Clang: 1 diagnostic messages:
        /usr/include/boost/thread/future.hpp:4672:19: error: no member named 'that' in 'run_it<FutureExecutorContinuationSharedState>'

      What is the impact of this issue to you?

      Cannot build clang related stuff (needed ie for Qt-Python bindings using shiboken)

      Please provide the package NVR for which the bug is seen:

      1.83.0-5.el10

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1. Create an example file including the said include file
      2. Build with clang

      Expected results

      Compilation terminates successfully

      Actual results

      Compilation fails with:

        /usr/include/boost/thread/future.hpp:4672:19: error: no member named 'that' in 'run_it<FutureExecutorContinuationSharedState>'

       

              rh-ee-ppalka Patrick Palka
              fedepell Federico Pellegrin (Inactive)
              Patrick Palka Patrick Palka
              Michal Kolar Michal Kolar
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: