summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Germishuys <jacquesg@striata.com>2018-03-08 08:31:49 +0200
committerJacques Germishuys <jacquesg@striata.com>2018-03-08 08:31:49 +0200
commite666495b79da415587da067c79fb1474097f19da (patch)
treede5b0786f6916ac32b2525656a3516c625eb0c78
parent5f6383ca50b9b746217fe4c6ae8274924ec20df1 (diff)
downloadlibgit2-e666495b79da415587da067c79fb1474097f19da.tar.gz
cmake: enable shift count overflow warning
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2e98bbc76..2ca5354a7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -221,6 +221,7 @@ ELSE ()
ENABLE_WARNINGS(strict-aliasing)
ENABLE_WARNINGS(strict-prototypes)
ENABLE_WARNINGS(declaration-after-statement)
+ ENABLE_WARNINGS(shift-count-overflow)
DISABLE_WARNINGS(unused-const-variable)
DISABLE_WARNINGS(unused-function)