Skip to content

Commit

Permalink
Turn on -Wall -Wextra for clang++
Browse files Browse the repository at this point in the history
  • Loading branch information
weisslj committed Nov 4, 2017
1 parent f38b914 commit 2ec0b7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ifeq ($(WARN),1)
ifeq ($(CXX),g++)
WARN_FLAGS = -O3 -g -Wall -Wextra -Werror # -Weffc++
else ifeq ($(CXX),clang++)
WARN_FLAGS = -O3 -g -Werror
WARN_FLAGS = -O3 -g -Wall -Wextra -Werror
else ifeq ($(CXX),icpc)
WARN_FLAGS = -O3 -ipo -g -Wall -wd981 -wd383 -wd2259 -Werror # -Weffc++
endif
Expand Down

0 comments on commit 2ec0b7a

Please sign in to comment.