Skip to content

Commit 045399b

Browse files
committed
Enable -Wshadow on travis ci builds
1 parent 08944f2 commit 045399b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ cache:
2626
directories:
2727
- $HOME/deps
2828
script:
29-
- mkdir build && cd build && cmake -DBUILD_SINGLE_HEADER=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-Wall -Wextra -pedantic -Werror" .. && make -j2
29+
- mkdir build && cd build && cmake -DBUILD_SINGLE_HEADER=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-Wall -Wextra -pedantic -Wshadow -Werror" .. && make -j2

0 commit comments

Comments
 (0)