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
rfl::internal::cpp20::num_fields: fix linkage failure for anonymous-namespace structs inside std::optional<T> on AppleClang 17 #110
Structs defined inside an anonymous namespace fail to compile under AppleClang 17 when wrapped in std::optional<T>, hitting an internal linkage error at include/rfl/internal/cpp20/num_fields.hpp:78.
Evidence
Surfaced in osmium-tool (exp/gp-osmium-tool) and solidity (exp/gp-solidity) Showcase Migrations (Lane 1).
Fix num_fields.hpp so structs with internal linkage (anonymous namespace) compile cleanly inside std::optional<T> under AppleClang 17 (as well as GCC/Clang/MSVC).
Add a unit test reflecting an anonymous-namespace struct wrapped in std::optional<T> under -Wall -Werror.
Resolved on showcase/all-lanes via Batch 1 merge 4861aafd (commits d4700190, d3673b24). Verified with 962/962 CTest passing under AppleClang 17 -Wall -Werror + REFLECTCPP_STRICT_WARNINGS=ON (non-SYSTEM-I for internal tests, -isystem for downstream consumers) and dual Judge approval (Gemini 4 Neon High: APPROVE WITH NITS, all addressed; Claude Opus 5.5 High re-check: APPROVE).
Activity
clockblocker commentedon Nov 27, 2026
Resolved on
showcase/all-lanesvia Batch 1 merge4861aafd(commitsd4700190,d3673b24). Verified with 962/962 CTest passing under AppleClang 17-Wall -Werror+REFLECTCPP_STRICT_WARNINGS=ON(non-SYSTEM-Ifor internal tests,-isystemfor downstream consumers) and dual Judge approval (Gemini 4 Neon High:APPROVE WITH NITS, all addressed; Claude Opus 5.5 High re-check:APPROVE).