Skip to content

cpp: include <algorithm> in operators_promote.cpp (the 2.2.8 release build failed on GCC 14) - #76

Merged
NiJingzhe merged 1 commit into
devfrom
fix/gcc14-algorithm
Nov 9, 2026
Merged

NiJingzhe merged 1 commit into
devfrom
fix/gcc14-algorithm

Conversation

@NiJingzhe

Copy link
Copy Markdown
Collaborator

The 2.2.8 release run failed building the Linux wheels (manylinux_2_28, GCC 14): operators_promote.cpp:224: no matching function for call to find(...). The file used std::find without <algorithm>; GCC 14 no longer gets it through another header, and CI's Linux build (older GCC) did not show it.

One line. Checked: all 220 sources under src/cpp/src and all 30 binding files compile with g++-16 -fsyntax-only (this was the only failure); clang-format 18 clean.

The Windows wheel job of that run failed on an HTTP 504 downloading virtualenv, unrelated; macOS was cancelled by the others.

🤖 Generated with Claude Code

…x release toolchain, no longer gets it through another header; the 2.2.8 release build failed on std::find)

Every C++ source and binding file compiles clean under GCC 16 (-fsyntax-only); this was the only one that did not.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@NiJingzhe
NiJingzhe merged commit 9208225 into dev Nov 9, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant