Added attributes to code such that -Wformat-truncation=0 can be removed

This commit is contained in:
AnnaSnoeijs 2025-06-14 23:02:26 +02:00
parent 4bfaa26297
commit c72abd8bbf
2 changed files with 12 additions and 4 deletions

View file

@ -19,7 +19,7 @@ FLAGS += -Wall
FLAGS += -Wextra
FLAGS += -Werror
# This flag is because of the compiler otherwise giving too much warning
FLAGS += -Wformat-truncation=0
#FLAGS += -Wformat-truncation=0
# Compile flag for defining GITHASH to put at the end of the version string
GITFLAG = -D'GITHASH=$(shell git rev-parse --short=1 HEAD)'