Added attributes to code such that -Wformat-truncation=0 can be removed
This commit is contained in:
parent
4bfaa26297
commit
c72abd8bbf
2 changed files with 12 additions and 4 deletions
2
makefile
2
makefile
|
|
@ -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)'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue