Use language-standard diagnostics

Use language-standard diagnostics in C++ — with three ready prompts, from the immediate task to the lasting pattern.

3prompt heights
Open it in the interactive atlas →

3 ready prompts

Written for the moment this actually comes up.

Improve — make it easier to accept

+
Before the CI run, make the diagnostics reviewer-friendly. Rework the compile-time checks in…
Before the CI run, make the diagnostics reviewer-friendly. Rework the compile-time checks in logger.cpp so the diagnostics show the offending expression and a short message at the top of the error: 'Logger format must be literal'. Prefer standard static_assert and constexpr_if where possible, and point out any remaining compiler-specific extensions that need attention.

Decide — diagnose the stuck moment

+
CI failed with an unreadable error coming from a compiler extension in core/logger.cpp; I see…

Build log shows obscure compiler-specific error from a static check

CI failed with an unreadable error coming from a compiler extension in core/logger.cpp; I see __builtin_whatever in there. I don't know which compilers our partners use and I'm worried this will fail their builds. What's the likely problem and the minimal change to produce portable, clear diagnostics across compilers?

Become — change the pattern

+
Over time, our codebase accumulated compiler-specific static checks and builtin diagnostics. New…

We rely on compiler-specific diagnostics that confuse collaborators

Over time, our codebase accumulated compiler-specific static checks and builtin diagnostics. New contributors and cross-platform partners frequently trip over them. What single habit or refactor should we adopt to make diagnostics consistent, clear and portable without losing useful compile-time checks?

Next to this one

Other programming language work people do in C++.

Every task here came from the work, not from a feature list — which is why the prompts name what you want done and never the button that does it. The tool changes; the work does not.
Copyright © LLOS.ai · 2026 — original pedagogy, voice, and design — all rights reserved.

The rest of the map

Same library, five ways in.