summaryrefslogtreecommitdiffhomepage
path: root/.dispatch/rules/zero-warnings.md
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-27 22:03:59 +0900
committerAdam Malczewski <[email protected]>2026-06-27 22:03:59 +0900
commit831747ddb5886364707b696ac38cce8da333f15d (patch)
tree1b3c983c2b9964d55adec16e2e3a78190fbedbbe /.dispatch/rules/zero-warnings.md
parentb0534c0b53fc116521245c14b05d0120a1cded89 (diff)
downloadstudy-player-V1.tar.gz
study-player-V1.zip
V1: preserve pre-refactor state (single-file main.c + harness docs)V1
Diffstat (limited to '.dispatch/rules/zero-warnings.md')
-rw-r--r--.dispatch/rules/zero-warnings.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/.dispatch/rules/zero-warnings.md b/.dispatch/rules/zero-warnings.md
new file mode 100644
index 0000000..a6239d9
--- /dev/null
+++ b/.dispatch/rules/zero-warnings.md
@@ -0,0 +1,11 @@
+# Zero warnings
+
+- Your code must compile with `-Wall -Wextra` producing EXACTLY ZERO warnings.
+- No `-w` suppression. No `(void)` casts to silence legitimate warnings unless
+ you have a real reason (e.g. an unused parameter that must exist for a
+ callback signature).
+- The orchestrator will re-run `make` after you and will REJECT any warning —
+ even ones from other files your code includes. If `raylib.h` or a system
+ header triggers a warning, isolate it with platform guards.
+- Run `make` yourself before reporting. The exit code must be 0.
+- The build output is your trust signal. A clean build = a clean module.