{{ message }}
Repository navigation
Remove checked_array_iterator from fmt dep (1.5) - #23238
Merged
Merged
Conversation
This is a backport of the PR duckdb#22706 to `v1.5-variegata` stable branch. This PR removes [stdext::checked_array_iterator](https://learn.microsoft.com/en-us/cpp/standard-library/checked-array-iterator-class?view=msvc-180) usage applying the changes from [this commit](fmtlib/fmt@9bea6ec) to the version of the `fmt` library included in the `third_party` dir. It is checked on Visual Studio 18.6.0 released on May 12. Fixes: duckdb#22704
nkwork9999
added a commit
to nkwork9999/pic2vec
that referenced
this pull request
Jun 12, 2026
MSVC 14.51 (VS 18) removed stdext::checked_array_iterator but its STL still defines _SECURE_SCL, so DuckDB v1.5.3's vendored fmt takes the checked-iterator path and fails to compile (duckdb/duckdb#22704). Mirror duck-orch's working fix: /FI a shim that includes <iterator> and <string> first, then undefines _SECURE_SCL, so fmt's #ifdef _SECURE_SCL branch is never taken. Applied only for MSVC_VERSION >= 1950; remove once community-extensions pins a DuckDB release containing duckdb/duckdb#23238. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Tishj
pushed a commit
to duckdb/duckdb-iceberg
that referenced
this pull request
Jun 12, 2026
The windows-latest GitHub runner image rolled over to the Visual Studio 18 toolset, which removed stdext::checked_array_iterator. duckdb's bundled fmt still referenced it at the previous pin, so every Windows build fails with: fmt/format.h(326): error C2653: 'stdext': is not a class or namespace name duckdb backported the fmt fix to its v1.5-variegata branch in duckdb/duckdb#23238. Bump the submodule from 2115a29 (head of duckdb/duckdb#23057) to 4d8c2978, the current duckdb v1.5-variegata tip, which contains 2115a29 plus the fmt fix and a few variant fixes - and keeps the same extension-facing API. https://claude.ai/code/session_0197MwysFD3m2LaGSxB8jd2i
Mytherin
pushed a commit
that referenced
this pull request
Jun 14, 2026
This is a backport of the PR #22706 (#23238 in 1.5) to `v1.4-andium` stable branch. This PR removes [stdext::checked_array_iterator](https://learn.microsoft.com/en-us/cpp/standard-library/checked-array-iterator-class?view=msvc-180) usage applying the changes from [this commit](fmtlib/fmt@9bea6ec) to the version of the `fmt` library included in the `third_party` dir. It is checked on Visual Studio 18.6.0 released on May 12. Fixes: #22704
Mytherin
added a commit
that referenced
this pull request
Jun 14, 2026
Equivalent to #23239, but new to restart CI properly. --- This is a backport of the PR #22706 (#23238 in 1.5) to `v1.4-andium` stable branch. This PR removes [stdext::checked_array_iterator](https://learn.microsoft.com/en-us/cpp/standard-library/checked-array-iterator-class?view=msvc-180) usage applying the changes from [this commit](fmtlib/fmt@9bea6ec) to the version of the `fmt` library included in the `third_party` dir. It is checked on Visual Studio 18.6.0 released on May 12. Fixes: #22704
Mytherin
pushed a commit
that referenced
this pull request
Jun 14, 2026
This is a backport of the PR #22706 (#23238 in 1.5) to `v1.4-andium` stable branch. This PR removes [stdext::checked_array_iterator](https://learn.microsoft.com/en-us/cpp/standard-library/checked-array-iterator-class?view=msvc-180) usage applying the changes from [this commit](fmtlib/fmt@9bea6ec) to the version of the `fmt` library included in the `third_party` dir. It is checked on Visual Studio 18.6.0 released on May 12. Fixes: #22704
Mytherin
added a commit
that referenced
this pull request
Jun 14, 2026
This is a backport of the PR #22706 (#23238 in 1.5) to `v1.4-andium` stable branch. This PR removes [stdext::checked_array_iterator](https://learn.microsoft.com/en-us/cpp/standard-library/checked-array-iterator-class?view=msvc-180) usage applying the changes from [this commit](fmtlib/fmt@9bea6ec) to the version of the `fmt` library included in the `third_party` dir. It is checked on Visual Studio 18.6.0 released on May 12. Fixes: #22704
krlmlr
pushed a commit
to krlmlr/duckdb
that referenced
this pull request
Jun 21, 2026
Conflict-free merge of the clean commits between resolutions: - Fix VARIANT shredding, avoid including empty object keys (duckdb#23213) - Remove checked_array_iterator from fmt dep (1.5) (duckdb#23238) - [Dev] Add missing `ORDER BY ALL` or `rowsort` to merge into tests (duckdb#23258)
krlmlr
pushed a commit
to krlmlr/duckdb
that referenced
this pull request
Jun 21, 2026
This is a backport of the PR duckdb#22706 to `v1.5-variegata` stable branch. This PR removes [stdext::checked_array_iterator](https://learn.microsoft.com/en-us/cpp/standard-library/checked-array-iterator-class?view=msvc-180) usage applying the changes from [this commit](fmtlib/fmt@9bea6ec) to the version of the `fmt` library included in the `third_party` dir. It is checked on Visual Studio 18.6.0 released on May 12. Fixes: duckdb#22704
krlmlr
pushed a commit
to krlmlr/duckdb
that referenced
this pull request
Jun 21, 2026
Conflict-free merge of the clean commits between resolutions: - Fix VARIANT shredding, avoid including empty object keys (duckdb#23213) - Remove checked_array_iterator from fmt dep (1.5) (duckdb#23238) - [Dev] Add missing `ORDER BY ALL` or `rowsort` to merge into tests (duckdb#23258)
krlmlr
pushed a commit
to krlmlr/duckdb
that referenced
this pull request
Jun 21, 2026
Brings these v1.5-variegata commits; they do not overlap with the main/v2.0 line, so they merge with no conflicts: - Fix VARIANT shredding, avoid including empty object keys (duckdb#23213) - Remove checked_array_iterator from fmt dep (1.5) (duckdb#23238) - [Dev] Add missing `ORDER BY ALL` or `rowsort` to merge into tests (duckdb#23258)
krlmlr
pushed a commit
to krlmlr/duckdb
that referenced
this pull request
Jun 21, 2026
Brings these v1.5-variegata commits; they do not overlap with the main/v2.0 line, so they merge with no conflicts: - Fix VARIANT shredding, avoid including empty object keys (duckdb#23213) - Remove checked_array_iterator from fmt dep (1.5) (duckdb#23238) - [Dev] Add missing `ORDER BY ALL` or `rowsort` to merge into tests (duckdb#23258)
kaka11chen
pushed a commit
to kaka11chen/astrovela_vane
that referenced
this pull request
Aug 14, 2026
This is a backport of the PR #22706 to `v1.5-variegata` stable branch. This PR removes [stdext::checked_array_iterator](https://learn.microsoft.com/en-us/cpp/standard-library/checked-array-iterator-class?view=msvc-180) usage applying the changes from [this commit](fmtlib/fmt@9bea6ec) to the version of the `fmt` library included in the `third_party` dir. It is checked on Visual Studio 18.6.0 released on May 12. Fixes: #22704 Upstream-Commit: duckdb/duckdb@4d8c297
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This is a backport of the PR #22706 to
v1.5-variegatastable branch.This PR removes stdext::checked_array_iterator usage applying the changes from this commit to the version of the
fmtlibrary included in thethird_partydir.It is checked on Visual Studio 18.6.0 released on May 12.
Fixes: #22704