Closed JFreegman closed 9 months ago
Maybe add a compiler warning for it on CI?
Makefile contains -Wvla
, so I'm surprised this was fine.
CFLAGS ?= -std=c11 -pthread -Wall -Wpedantic -Wunused -fstack-protector-all -Wvla -Wno-missing-braces
The only reason I even noticed is because I got a compiler warning on a VM with a newer version of gcc. Not sure what's gong there.
Edit: looks like a compiler optimization for strlen on string defines.
We don't use these in Toxic
This change is