Skip to content

Commit 3e7b6ac

Browse files
committed
Enable -Wextra for additional compilation warnings
1 parent 1181dee commit 3e7b6ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ vpath %.cpp $(SRC_DIR)
124124
PKG_CONFIG = pkg-config
125125
$(call ensure_binary,$(PKG_CONFIG))
126126

127-
override CFLAGS += -std=c++11 -Wall -pedantic -O2 -g
127+
override CFLAGS += -std=c++11 -Wall -Wextra -pedantic -O2 -g
128128

129129
GCC_4_2_OR_HIGHER := $(shell expr `$(CXX) -dumpversion | sed 's/\.//g'` \>= 420)
130130
ifeq "$(GCC_4_2_OR_HIGHER)" "1"

0 commit comments

Comments
 (0)