Task: Implement hotfix: fix base32 alphabet initialisation
This page documents a task in the Hotfix: base32 alphabet uses string-literal paren-init rejected by Apple libc++ story. It captures the goal, current status, acceptance, and any notes or results.
Goal
macOS CI compiles ores.utility without error. base32_converter.cpp uses a portable constexpr string_view alphabet.
Status
| Field | Value |
|---|---|
| State | DONE |
| Parent story | Hotfix: base32 alphabet uses string-literal paren-init rejected by Apple libc++ |
| Now | Nothing. |
| Waiting on | CI (canary pending). |
| Next | Nothing. |
| Last touched | 2026-06-25 |
Acceptance
Plan
(Implementation strategy. Written when work starts; key decisions
are distilled into the parent story's * Decisions at close, but the
plan itself stays — it is the historical record of what we did.)
Notes
PRs
| PR | Title |
|---|---|
| #1318 | [build] Fix base32 alphabet: explicit char list, drop string-literal ctor |
Review
| # | Comment summary | File | Decision | Notes |
|---|---|---|---|---|
| 1 | Use constexpr string_view instead of explicit char list | base32_converter.cpp | Accept | Fixed 36e130f3f |
Result
Replaced the broken `std::array<char,33> alphabet("…")` paren-init with `constexpr std::string_view alphabet = "…"` (review suggestion accepted). macOS CI passes. PR #1318 merged 2026-06-26.