From d0579014d8a7fd56d56136edf22bda0086aedd19 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Wed, 7 Jun 2023 00:42:01 -0500 Subject: [PATCH] [buildcore] Enable implicit type conversion warnings --- deps/buildcore/base.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deps/buildcore/base.cmake b/deps/buildcore/base.cmake index 20822cc0..bce3dd1a 100644 --- a/deps/buildcore/base.cmake +++ b/deps/buildcore/base.cmake @@ -49,7 +49,8 @@ else() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Woverloaded-virtual") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wpedantic") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wsign-compare") - #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wsign-conversion") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wsign-conversion") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wconversion") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wunused") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wunused-variable") # release build options