From 27b41f5ee154cca0fce4fe2955dd886d04e3a4ed Mon Sep 17 00:00:00 2001 From: eidheim Date: Tue, 25 Apr 2023 13:03:22 +0200 Subject: [PATCH] Added -Wsign-conversion --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 65a06e9..78c94e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,7 +71,7 @@ endif() # If Simple-Web-Server is not a sub-project: if(CMAKE_SOURCE_DIR STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}") if(NOT MSVC) - add_compile_options(-Wall -Wextra) + add_compile_options(-Wall -Wextra -Wsign-conversion) if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") add_compile_options(-Wthread-safety) endif()