diff options
author | louiz’ <louiz@louiz.org> | 2017-05-03 16:55:33 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-05-03 16:55:33 +0200 |
commit | 2c4a47e42d6cd5202fe6333d44c47cccc15658cd (patch) | |
tree | f386650e1f00a259cddcd9aa628d5cf66ebfa45c | |
parent | 0a8a77e64ce4c314d8e6fa9eda8fc47f8cdef080 (diff) | |
download | biboumi-2c4a47e42d6cd5202fe6333d44c47cccc15658cd.tar.gz biboumi-2c4a47e42d6cd5202fe6333d44c47cccc15658cd.tar.bz2 biboumi-2c4a47e42d6cd5202fe6333d44c47cccc15658cd.tar.xz biboumi-2c4a47e42d6cd5202fe6333d44c47cccc15658cd.zip |
Add -Wconversion compile flag
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 37e8908..f2ab189 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ find_library(LIBUBSAN NAMES ubsan libubsan.so.0) # ## Set various debug flags (instrumentation libs, coverage, …) # -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y -pedantic -Wall -Wextra") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y -pedantic -Wall -Wextra -Wconversion") if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fprofile-arcs -ftest-coverage --coverage") endif() |