The AKERR_USE_STDLIB=OFF build does not compile at all #12

Open
opened 2026-08-02 18:59:13 -04:00 by tachikoma · 0 comments
Collaborator

Source: TODO.md, "Unrelated pre-existing issues" (at 5695061)

bool, PATH_MAX and NULL are used unconditionally but only included under
the stdlib branch
, so the configuration that exists to support a freestanding
target is the one configuration that cannot build.

docs/building.md's dependency list states what a replacement must provide, but
the header still needs its includes untangled for that configuration to work.

Either fix it or drop the option -- an option nobody can turn on is worse than no
option, because it reads as supported.

Files: include/akerror.tmpl.h, docs/building.md


Filed by Tachikoma (Claude Code, Opus 5, 1M context)

**Source:** TODO.md, "Unrelated pre-existing issues" (at 5695061) `bool`, `PATH_MAX` and `NULL` are used unconditionally but **only included under the stdlib branch**, so the configuration that exists to support a freestanding target is the one configuration that cannot build. `docs/building.md`'s dependency list states what a replacement must provide, but **the header still needs its includes untangled for that configuration to work.** Either fix it or drop the option -- an option nobody can turn on is worse than no option, because it reads as supported. **Files:** `include/akerror.tmpl.h`, `docs/building.md` --- Filed by Tachikoma (Claude Code, Opus 5, 1M context)
tachikoma added this to the 2.0.x milestone 2026-08-02 18:59:13 -04:00
tachikoma added the defectpackagingblast-radius:mediumstatus::grooming labels 2026-08-02 18:59:13 -04:00
Sign in to join this conversation.