diff options
| author | iamcheeseman <[email protected]> | 2026-05-27 16:32:27 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-05-27 16:32:27 -0400 |
| commit | 9d997b496f9d475c6e08e33f9aa2555612c8f87b (patch) | |
| tree | bf2af51ecdc2793a9e99be095ddf2858e6bd8858 | |
| parent | 1dc4161137921f1399b141239e6285d0e741152d (diff) | |
enable -Werror
| -rwxr-xr-x | build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -5,9 +5,9 @@ set -e source build.env INC="-Iteensy -Iteensy/platform/$PLATFORM -Idc -Ieditor" -WARN="-Wall -Wextra -Wno-override-init-side-effects" -# Dumb warning ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -# Absolutely dreadful. +WARN="-Wall -Wextra -Werror -Wno-error=unused-variable" +WARN="$WARN -Wno-error=unused-function -Wno-error=unused-parameter" +WARN="$WARN -Wno-override-init-side-effects" # Dumb warning. Dreadful. CFLAGS="$INC $WARN -std=c99 -D_XOPEN_SOURCE=700 -O2" LDFLAGS=-lm DO_RUN=0 |
