Skip to content

[clang-campaign] SCALE tail: broad-binding correctness (the 284-error / bare-enum-qualification thesis) #10

Description

@monkopedia-coder

Campaign SCALE tail — broad-binding correctness ("massive binding" thesis). The demo runs with a 16-class slice, but the campaign's stated product goal is binding LARGE libraries. Forcing the full transitive Clang surface (~1269 classes via INCLUDE_MISSING) currently yields ~284 generated-C++ compile errors (measured 2026-06-06, recorded in docs/clang-bootstrap.md Backlog as the T1.3-clang/"harden broad binding" P2 tail). It is dominated by 179× "use of undeclared identifier" — the doc notes this is "likely ONE systematic bug (bare enum constants / static members emitted unqualified)." That single fix is the highest-leverage scale unlock.

Do: root-cause + fix the bare-enum/static-member qualification bug first (biggest cluster), then iterate the remaining categories (incomplete-type, deleted-ctor residuals, fn-ptr, etc.) via the rebuild-kexe + real-Clang re-probe loop documented in the doc. Large + iterative. Acceptance: the forced broad surface compiles (error count → low single digits), proving the binding pipeline scales. NOTE: this is the bulk of "make it releaseable as a scale story" — size accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedDepends on another issue, PR, or external blocker

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions