mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-19 05:25:45 +01:00
Use void * over u8 *, to be more explicit we're working with raw data, and not just bytes.
The main problem with all my buffer-parsing code so-far is that they often... always break strict aliasing rules. Using a `void *` will make these bugs more explicit / noticable.
This commit is contained in:
2
makefile
2
makefile
@@ -14,7 +14,7 @@ MARCH ?= $(shell uname -m)
|
||||
KERNEL ?= $(shell uname -s | tr '[:upper:]' '[:lower:]')
|
||||
|
||||
# compilation flags
|
||||
CFLAGS += -c -std=gnu99 -Wall -Wextra -Wpedantic -MMD -MP
|
||||
CFLAGS += -c -std=gnu99 -Wall -Wextra -Wpedantic -MMD -MP -Wno-pointer-arith
|
||||
LDFLAGS += -flto
|
||||
|
||||
# architecture/OS detection
|
||||
|
||||
Reference in New Issue
Block a user