Sun, 25 Jan 2026 13:18:26 +0100
compile in C17 mode in debug builds to detect accidental use of C23 features
| make/gcc.mk | file | annotate | diff | comparison | revisions |
--- a/make/gcc.mk Sun Jan 25 13:18:04 2026 +0100 +++ b/make/gcc.mk Sun Jan 25 13:18:26 2026 +0100 @@ -1,2 +1,3 @@ # gcc toolchain config -DEBUG_CFLAGS = -g -Wall -Wextra -Werror -Wno-missing-field-initializers +# compile in c17 mode in debug builds to check for compatibility +DEBUG_CFLAGS = -std=c17 -g -Wall -Wextra -Werror -Wno-missing-field-initializers