You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[C++] std::invocable and std::in_range fail to compile with CRAN's macOS 11.3 SDK #55429
The test-r-macos-as-cran nightly cran-release job, which builds Arrow C++ from source against the macOS 11.3 SDK that CRAN uses, has been failing since 2026-11-01. The 11.3 SDK's libc++ has partial C++20 library support and is missing two things we use:
cpp/src/arrow/compute/kernels/codegen_internal.h:1239:17: error: no member named 'invocable' in namespace 'std'
cpp/src/arrow/compute/kernels/codegen_internal.h:1275:17: error: no member named 'invocable' in namespace 'std'
std::in_range was added in libc++ 13. The fix is to write the range check directly in terms of std::numeric_limits.
The std::invocable error occurs earlier in the build and masks the std::in_range one, so both need fixing for the job to pass. Originally tracked separately as GH-55430, now folded into this issue.
changed the title [-][C++][Compute] std::invocable in codegen_internal.h fails to compile with CRAN's macOS 11.3 SDK[/-][+][C++] std::invocable in codegen_internal.h fails to compile with CRAN's macOS 11.3 SDK[/+]on Nov 6, 2026
changed the title [-][C++] std::invocable in codegen_internal.h fails to compile with CRAN's macOS 11.3 SDK[/-][+][C++] std::invocable and std::in_range fail to compile with CRAN's macOS 11.3 SDK[/+]on Nov 9, 2026
Activity
[-][C++][Compute] std::invocable in codegen_internal.h fails to compile with CRAN's macOS 11.3 SDK[/-][+][C++] std::invocable in codegen_internal.h fails to compile with CRAN's macOS 11.3 SDK[/+][-][C++] std::invocable in codegen_internal.h fails to compile with CRAN's macOS 11.3 SDK[/-][+][C++] std::invocable and std::in_range fail to compile with CRAN's macOS 11.3 SDK[/+]GH-55429: [C++] std::invocable in codegen_internal.h fails to compile…
thisisnic commentedon Nov 9, 2026
Issue resolved by pull request 55457
#55457