diff options
author | Simon Rettberg | 2020-11-13 08:23:09 +0100 |
---|---|---|
committer | Simon Rettberg | 2020-11-13 08:23:09 +0100 |
commit | 1a6e8728b65ec4e61b7db5ef421c6806388ca634 (patch) | |
tree | 02911efe89dcced179e8f37ddd6f998fa7bc24b5 | |
parent | [SERVER] Fix log calls in thread debug code (diff) | |
download | dnbd3-1a6e8728b65ec4e61b7db5ef421c6806388ca634.tar.gz dnbd3-1a6e8728b65ec4e61b7db5ef421c6806388ca634.tar.xz dnbd3-1a6e8728b65ec4e61b7db5ef421c6806388ca634.zip |
cmake: No sign conversion warnings
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 542f2ec..bad9c00 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,7 +80,7 @@ add_definitions(-D_FILE_OFFSET_BITS=64) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11") # enable all error warnings in Debug build configuration -set(CMAKE_C_FLAGS_DEBUG "-Wall -Wextra -Wpedantic -Wconversion -Wformat -Wformat-security -Werror=format-security") +set(CMAKE_C_FLAGS_DEBUG "-Wall -Wextra -Wpedantic -Wconversion -Wformat -Wformat-security -Werror=format-security -Wno-sign-conversion") set(CMAKE_C_FLAGS_RELEASE "-Wno-error") # set compilation optimization |