Skip to content

Commit

Permalink
Added -Wformat to CFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratstail91 committed Oct 12, 2024
1 parent 7b1dbf2 commit 24e0789
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion repl/makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#compiler settings
CC=gcc
CFLAGS+=-g -Wall -Werror -Wno-unused-parameter -Wno-unused-function -Wno-unused-variable
CFLAGS+=-g -Wall -Werror -Wno-unused-parameter -Wno-unused-function -Wno-unused-variable -Wformat
LIBS+=-lm -lToy
LDFLAGS+=-Wl,-rpath,'$$ORIGIN'

Expand Down
2 changes: 1 addition & 1 deletion source/makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#compiler settings
CC=gcc
CFLAGS+=-g -Wall -Werror -Wno-unused-parameter -Wno-unused-function -Wno-unused-variable
CFLAGS+=-g -Wall -Werror -Wno-unused-parameter -Wno-unused-function -Wno-unused-variable -Wformat
LIBS+=-lm
LDFLAGS+=

Expand Down
2 changes: 1 addition & 1 deletion tests/makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#compiler settings
CC=gcc
CFLAGS=-g -Wall -Werror -Wno-unused-parameter -Wno-unused-function -Wno-unused-variable
CFLAGS=-g -Wall -Werror -Wno-unused-parameter -Wno-unused-function -Wno-unused-variable -Wformat
LIBS=-lm

ifeq ($(shell uname),Linux)
Expand Down

0 comments on commit 24e0789

Please sign in to comment.