diff options
author | Jacques Germishuys <jacquesg@striata.com> | 2018-03-08 08:31:49 +0200 |
---|---|---|
committer | Jacques Germishuys <jacquesg@striata.com> | 2018-03-08 08:31:49 +0200 |
commit | e666495b79da415587da067c79fb1474097f19da (patch) | |
tree | de5b0786f6916ac32b2525656a3516c625eb0c78 | |
parent | 5f6383ca50b9b746217fe4c6ae8274924ec20df1 (diff) | |
download | libgit2-e666495b79da415587da067c79fb1474097f19da.tar.gz |
cmake: enable shift count overflow warning
-rw-r--r-- | CMakeLists.txt | 1 |
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) |