diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2016-05-11 19:36:34 +0200 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2016-05-11 19:36:34 +0200 |
commit | 33ca7e3c8d2bb4adbb5bec110618beb32d20f9dc (patch) | |
tree | 7ddcfdbcbcb52834cd15f877e00bc4181e6539fb /CMakeLists.txt | |
parent | a11bd82dc3683f19a531495ad9a6bd751bb2ee57 (diff) |
bug #1207: Add and fix logical-op warnings
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b1247f75f..abae3b23c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -141,6 +141,7 @@ if(NOT MSVC) ei_add_cxx_compiler_flag("-Wwrite-strings") ei_add_cxx_compiler_flag("-Wformat-security") ei_add_cxx_compiler_flag("-Wshorten-64-to-32") + ei_add_cxx_compiler_flag("-Wlogical-op") ei_add_cxx_compiler_flag("-Wenum-conversion") ei_add_cxx_compiler_flag("-Wc++11-extensions") ei_add_cxx_compiler_flag("-Wdouble-promotion") |