Skip to content

Commit 3abced1

Browse files
committed
Add -Wshadow
1 parent 9da24c4 commit 3abced1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# The Art of C++
2-
# Copyright (c) 2015-2017 Daniel Frey
2+
# Copyright (c) 2015-2018 Daniel Frey
33
# Please see LICENSE for license or visit https://github.com/taocpp/json
44

55
.SUFFIXES:
@@ -27,7 +27,7 @@ endif
2727
# changed if desired.
2828

2929
CPPFLAGS ?= -pedantic
30-
CXXFLAGS ?= -Wall -Wextra -Werror -O3
30+
CXXFLAGS ?= -Wall -Wextra -Wshadow -Werror -O3
3131

3232
.PHONY: all clean
3333

0 commit comments

Comments
 (0)