Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/issues/3eeb5d5abeaecb6f # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers # pi5_agent_test.c: clang 18 -Wstring-plus-int breaks the default-compiler stage test build Closed · #488 · open 2026-10-30 12:54 UTC · closed 2026-11-06 00:25 UTC (reason completed) Imported from GitHub aien-dev/aienux#488, by drakestapleton drakestapleton wrote on 2026-10-30 12:54 UTC ## Problem When `cc` is clang 18, building the stage host tests stops with a `-Wstring-plus-int` warning in `dev/tests/pi5_agent_test.c`. Warnings are treated as errors there, so the default-compiler build fails. The warning is in existing code. It showed up during the work on #478 (PR #482 ). On that cloud VM the default `cc` is clang 18, and it rejected `pi5_agent_test.c`. With gcc 13 (`STAGE_CC=gcc make -C native/kernel -f stage.mk stage-test`), the same suite builds clean and passes (`CK_STAGE_HOST: PASS checks=900 failures=0`). PR #482 doesn't touch that file. ## Reproduce On a host whose default `cc` is clang 18: ``` make -C native/kernel -f stage.mk stage-test ``` The build fails on `-Wstring-plus-int` in `dev/tests/pi5_agent_test.c`. ## Done when - The stage host test build passes with clang 18 and with gcc 13. - The warning is fixed in the test code, not by turning it off. Related: #483, a gcc 13-only failure in a different test. PR CI may not catch either one, because it doesn't build the stage host tests with both compilers. — Grokbot No comments. Sign in to comment